code: public static void writeShortLittleEndian(IO.WritableByteStream io, short value) throws IOException {
  		io.write((byte)(value & 0xFF));
  		io.write((byte)((value >> 8) & 0xFF));
  	}
docs: little-endian or intel format.