Click or drag to resize

Blob Constructor (String, Byte)

Creates a blob given a type and in memory content

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public Blob(
	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: 
An instantiated Blob object
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if content is null
See Also