Exemplo n.º 1
0
 public SprotoTypeBase(int max_field_count, byte[] buffer)
 {
     this.has_field   = new SprotoTypeFieldOP(max_field_count);
     this.serialize   = new SprotoTypeSerialize(max_field_count);
     this.deserialize = new SprotoTypeDeserialize(buffer);
     isEmpty          = false;
 }
Exemplo n.º 2
0
 public SprotoTypeBase(int max_field_count)
 {
     this.has_field   = new SprotoTypeFieldOP(max_field_count);
     this.serialize   = new SprotoTypeSerialize(max_field_count);
     this.deserialize = new SprotoTypeDeserialize();
 }
Exemplo n.º 3
0
 public SprotoTypeBase(int max_field_count, byte[] buffer)
 {
     this.has_field   = new SprotoTypeFieldOP(max_field_count);
     this.deserialize = new SprotoTypeDeserialize(buffer);
     this.extract     = new SprotoTypeExtract();
 }
Exemplo n.º 4
0
 public void init(SprotoTypeReader reader)
 {
     this.clear();
     this.deserialize = new SprotoTypeDeserialize(reader);
     this.decode();
 }
Exemplo n.º 5
0
 public void init(byte[] buffer)
 {
     this.clear();
     this.deserialize = new SprotoTypeDeserialize(buffer);
     this.decode();
 }