List of utility methods to do ByteBuffer to Short Array
String | getShortString(ByteBuffer in) Read a short string from the buffer. int l = in.get() & 0xFF; byte[] b = new byte[l]; try { in.get(b); return new String(b, "ISO-8859-1"); } catch (BufferUnderflowException bue) { in.position(in.position() - 1); throw bue; ... |