Blob Class |
Namespace: Couchbase.Lite
public sealed class Blob
The Blob type exposes the following members.
| Name | Description | |
|---|---|---|
| Blob(String, Byte) |
Creates a blob given a type and in memory content
| |
| Blob(String, Stream) |
Creates a blob given a type and streaming content
| |
| Blob(String, Uri) |
Creates an blob given a type and a URL to a file
|
| Name | Description | |
|---|---|---|
| Content |
Gets the contents of the blob as an in-memory array
| |
| ContentStream |
Gets the contents of the blob as a Stream | |
| ContentType |
Gets the content type of the blob
| |
| Digest |
Gets the digest of the blob, once it is saved
| |
| Length |
Gets the length of the data that the blob contains
| |
| Properties |
Gets the metadata of the blob instance
|
| Name | Description | |
|---|---|---|
| Equals |
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) |