BlobFactoryCreate Method (String, Stream) |
Creates an
IBlob given a type and streaming content
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax public static IBlob Create(
string contentType,
Stream stream
)
Parameters
- contentType
- Type: SystemString
The binary type of the blob - stream
- Type: System.IOStream
The stream containing the blob content
Return Value
Type:
IBlobAn instantiated
IBlob object
Exceptions See Also