Byte level output (i.e., for byte, int, long, float, etc.) should /// always be byte aligned. For example, a request to write an /// int should always realign the output at the byte level. /// ///
The implementation of this interface should clearly define if /// multi-byte output data is written in little- or big-endian byte /// ordering (least significant byte first or most significant byte /// first, respectively). /// ///
Signed or unsigned data can be written. To write a signed /// value just pass the byte value as an argument. To /// write unsigned data pass the int value as an argument /// (it will be automatically casted, and only the 8 least /// significant bits will be written). /// ///
Signed or unsigned data can be written. To write a signed /// value just pass the short value as an argument. To /// write unsigned data pass the int value as an argument /// (it will be automatically casted, and only the 16 least /// significant bits will be written). /// ///