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;
 }
 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();
 }
 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();
 }
 public void init(SprotoTypeReader reader)
 {
     this.clear();
     this.deserialize = new SprotoTypeDeserialize(reader);
     this.decode();
 }
 public void init(byte[] buffer)
 {
     this.clear();
     this.deserialize = new SprotoTypeDeserialize(buffer);
     this.decode();
 }