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