 | StreamsReadBytes Method |
Reads a byte array from supplied stream.
Namespace:
OBCOM.NetSwitchLib.Utils
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntaxpublic static byte[] ReadBytes(
Stream stream,
int length
)
Public Shared Function ReadBytes (
stream As Stream,
length As Integer
) As Byte()
Parameters
- stream
- Type: System.IOStream
The stream that will be read.
- length
- Type: SystemInt32
The number of bytes to read from stream.
Return Value
Type:
Byte
The byte array read from supplied
stream.
Exceptions
See Also