BinaryDataGetByteArrayFromStream Method |
Returns byte array from input stream.
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 13.0.131
Syntax public static byte[] GetByteArrayFromStream(
Stream stream,
int bufferSize = 65536,
long position = 0
)
Parameters
- stream
- Type: System.IOStream
Input stream - bufferSize (Optional)
- Type: SystemInt32
Buffer size, by default 64kB - position (Optional)
- Type: SystemInt64
Position from which the reading should start
Return Value
Type:
ByteSee Also