Exemple #1
0
    public void decode(Decoder decoder) {
      super.decode(decoder);

      int2 = decoder.decodeInt();
      string2 = decoder.decodeString();

      int length = decoder.decodeInt();
      buffer2 = decoder.decodeKnownLengthBuffer(length, true);
    }
Exemple #2
0
 public void decode(Decoder decoder) {
   int1 = decoder.decodeInt();
   float1 = decoder.decodeFloat();
   long1 = decoder.decodeLong();
   boolean1 = decoder.decodeBoolean();
   string1 = decoder.decodeString();
   date1 = decoder.decodeDate();
   bytes1 = decoder.decodeBytes();
   codable1 = decoder.decodeCodable();
 }