buffer | Bytes to write. |
This writes a 16-bit count and an array of bytes of that size to the stream.
Note that this will be the full allocated size of the array. So if the array is partially filled with data to send - then you should be using WriteBytesAndSize instead.
Did you find this page useful? Please give it a rating: