Click or drag to resize

Blob Class

A class representing an arbitrary piece of binary data
Inheritance Hierarchy
SystemObject
  Couchbase.LiteBlob

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
public sealed class Blob

The Blob type exposes the following members.

Constructors
  NameDescription
Public methodBlob(String, Byte)
Creates a blob given a type and in memory content
Public methodBlob(String, Stream)
Creates a blob given a type and streaming content
Public methodBlob(String, Uri)
Creates an blob given a type and a URL to a file
Top
Properties
  NameDescription
Public propertyContent
Gets the contents of the blob as an in-memory array
Public propertyContentStream
Gets the contents of the blob as a Stream
Public propertyContentType
Gets the content type of the blob
Public propertyDigest
Gets the digest of the blob, once it is saved
Public propertyLength
Gets the length of the data that the blob contains
Public propertyProperties
Gets the metadata of the blob instance
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also