Reads a byte array from given stream.
Namespace: FirstFloor.Documents.IOAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public static byte[] ReadBytes( this Stream stream, int length ) |
| Visual Basic |
|---|
<ExtensionAttribute> _ Public Shared Function ReadBytes ( _ stream As Stream, _ length As Integer _ ) As Byte() |
| Visual C++ |
|---|
[ExtensionAttribute] public: static array<unsigned char>^ ReadBytes( Stream^ stream, int length ) |