Returning the number of bytes written/read could return a negative integer because a uint32_t is expected for the length in read()/write() operations.
Returning the number of bytes written/read could return a negative integer because a uint32_t is expected for the length in read()/write() operations.