Esempio n. 1
0
 public int serialize(byte[] buf, int offset) {
   int length = super.serialize(buf, offset);
   length += Serializer.serialize(buf, offset + length, time);
   return length;
 }
Esempio n. 2
0
 public int length() {
   int length = super.length();
   length += Serializer.length(time);
   return length;
 }
Esempio n. 3
0
 public int deserialize(byte[] buf, int offset) {
   int length = super.deserialize(buf, offset);
   time = Serializer.deserializeString(buf, offset + length);
   length += Serializer.length(time);
   return length;
 }