Write Method
Write(byte[])
Writes the content of the provided byte array to this serialization output
Declaration
void Write(byte[] bytes)
Parameters
byte[] | bytes | the byte array to be written |
Remarks
Please note that this method only writes the content of the array to the output whereas WriteByteArray(byte[]) methods also take care of the size of the array.
Write(byte[], int, int)
Writes the content of the provided byte array to this serialization output
Declaration
void Write(byte[] bytes, int offset, int count)
Parameters
byte[] | bytes | the byte array to be written |
int | offset | the offset of the bytes array for start reading from |
int | count | total number of bytes to be written from the bytes array |