StreamContainer.ToBytes

ToBytes()

Converts the stream data to the Byte array.

public virtual byte[] ToBytes()

Return Value

The stream data converted to the Byte array.

See Also


ToBytes(long, long)

Converts the stream data to the Byte array.

public virtual byte[] ToBytes(long position, long bytesCount)
ParameterTypeDescription
positionInt64The position to start reading bytes from.
bytesCountInt64The bytes count to read.

Return Value

The stream data converted to the Byte array.

See Also