Click or drag to resize

BlobFactoryCreate Method (String, Byte)

Creates an IBlob given a type and in memory content

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
public static IBlob Create(
	string contentType,
	byte[] content
)

Parameters

contentType
Type: SystemString
The binary type of the blob
content
Type: SystemByte
The content of the blob

Return Value

Type: IBlob
An instantiated IBlob object
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if content is null
See Also