Esempio n. 1
0
 public void AddToBytes(List <byte> buffer)
 {
     buffer.AddRange(ParameterEncodingHelper.ComposeLVarData(_data, _lLevel));
 }
 public override void ParseFromBytes(byte[] buffer, int offset)
 {
     _bytes.Clear();
     _bytes.AddRange(ParameterEncodingHelper.ReadLVarData(buffer, offset, _lLevel));
 }
Esempio n. 3
0
 public void ParseFromBytes(byte[] buffer, int offset)
 {
     _data = ParameterEncodingHelper.ReadLVarData(buffer, offset, _lLevel);
 }
 public override void AddToBytes(List <byte> buffer)
 {
     buffer.AddRange(ParameterEncodingHelper.ComposeLVarData(_bytes.ToArray(), _lLevel));
 }