Package com.couchbase.lite.internal.core
Class C4BlobKey
- java.lang.Object
-
- com.couchbase.lite.internal.core.C4NativePeer
-
- com.couchbase.lite.internal.core.C4BlobKey
-
- All Implemented Interfaces:
AutoCloseable
public class C4BlobKey extends C4NativePeer
Blob KeyA raw SHA-1 digest used as the unique identifier of a blob.
-
-
Constructor Detail
-
C4BlobKey
public C4BlobKey(@Nullable String str) throws LiteCoreException
Decodes a string of the form "sha1-"+base64 into a raw key.- Throws:
LiteCoreException
-
-
Method Detail
-
close
@CallSuper public void close()
-
toString
@NonNull public String toString()
Encodes a blob key to a string of the form "sha1-"+base64.- Overrides:
toString
in classC4NativePeer
-
-