/** * @param bb * @throws Exception */ public final void write(ByteBuffer bb) throws Exception { bb.writeTo(os, sizeOfLgt); }
/** * @param bb * @throws Exception */ public final void read(ByteBuffer bb) throws Exception { bb.readFrom(is, sizeOfLgt); }