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