public void writeRawByte(final byte value) throws IOException {
  if (!buffer.hasRemaining()) {
    throw new OutOfSpaceException(buffer.position(),buffer.limit());
  }
  buffer.put(value);
}

public void writeRawByte ( final byte value ) throws IOException { if ( ! buffer . hasRemaining ( ) ) { throw new OutOfSpaceException ( buffer . position ( ) , buffer . limit ( ) ) ; } buffer . put ( value ) ; }
write a single byte .
