Method ReadBytes
ReadBytes(byte*, int, int)
Read multiple bytes to the stream
Declaration
public void ReadBytes(byte* value, int size, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
byte* | value | Pointer to the destination buffer |
int | size | Number of bytes to read - MUST BE <= BUFFER SIZE |
int | offset | Offset of the byte buffer to store into |
ReadBytes(ref byte[], int, int)
Read multiple bytes from the stream
Declaration
public void ReadBytes(ref byte[] value, int size, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
byte[] | value | Pointer to the destination buffer |
int | size | Number of bytes to read - MUST BE <= BUFFER SIZE |
int | offset | Offset of the byte buffer to store into |