Slice

IBlob.Slice method

Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

public IBlob Slice(ulong start, ulong end, string contentType)
Parameter Type Description
start UInt64 The parameter is a value for the start point of a slice
end UInt64 The parameter is a value for the start point of a slice
contentType String The parameter is a media type of the Blob

Return Value

Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

See Also