Пример #1
0
 @Override
 public char readChar() throws IOException {
   char c = this.stream.readChar();
   if (endianness == ByteOrder.LITTLE_ENDIAN) {
     c = Character.reverseBytes(c);
   }
   return c;
 }