Implementation-specific method. Usually it writes any unwritten data from output buffer
Attempts to write an array. Returns true if all elements were written, false otherwise
Writes an integer in big-endian encoding
Attempts to write count bytes from the memory pointed by buffer. Returns number of bytes actually written
Writes an integer in little-endian encoding
Attempts to write a string as zero-terminated. Returns true if entire string was written, false otherwise
Returns true if stream can be written to, false otherwise
A stream interface that allows to write data into it. Methods shouldn't throw on full disk, may throw on a more serious error