예제 #1
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();
 }
예제 #2
0
 public SprotoTypeBase(int max_field_count)
 {
     this.has_field = new SprotoTypeFieldOP(max_field_count);
     this.serialize = new SprotoTypeSerialize(max_field_count);
     this.extract   = new SprotoTypeExtract();
 }