Closed Wihan closed 4 years ago
Some useful utility functions:
Peek: Read without advancing, you can skip bytes before you peek, if you skip more than the size of the buffer you won't be able to read anything.
Free: How many bytes can we write
Full: How many bytes can we read
Thanks for the contribution!
Some useful utility functions:
Peek: Read without advancing, you can skip bytes before you peek, if you skip more than the size of the buffer you won't be able to read anything.
Free: How many bytes can we write
Full: How many bytes can we read