コード例 #1
0
 public void unmarshal(ByteBuf inBuf)
 {
     this.salt     = inBuf.readInt();
     this.ts       = inBuf.readInt();
     this.messages = inBuf.readIntMap();
 }
コード例 #2
0
 public ByteBuf marshal(ByteBuf outBuf)
 {
     return(outBuf.put(salt).put(ts).putIntMap(messages));
 }