Click or drag to resize
StorageHelperGetByteArrayFromStream Method
Returns byte array from input stream.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 9.0.0
Syntax
C#
public static byte[] GetByteArrayFromStream(
	Stream stream,
	int bufferSize = 65536,
	long position = 0
)

Parameters

stream
Type: CMS.IOStream
Input stream
bufferSize (Optional)
Type: SystemInt32
Buffer size
position (Optional)
Type: SystemInt64
Position from which the reading should start

Return Value

Type: Byte
See Also