Write bytes to a stream from the supplied buffer.
@param self This stream. @param buf A pointer to a memory buffer to read from. @param nbyte The size of the memory buffer. @return The bytes written, or -1 on error (errno will be set).
See Implementation
Write bytes to a stream from the supplied buffer.
@param self This stream. @param buf A pointer to a memory buffer to read from. @param nbyte The size of the memory buffer. @return The bytes written, or -1 on error (errno will be set).