Exemplo n.º 1
0
 /// <summary>
 /// Writes a <see cref="TlvBlock"/> into the stream
 /// </summary>
 public void WriteTlvBlock(TlvBlock value)
 {
     lock (this)
     {
         dataSegments.Add(new TlvBlockSegment(value));
         byteCount += value.GetByteCount();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Writes a <see cref="TlvBlock"/> into the stream
 /// </summary>
 public void WriteTlvBlock(TlvBlock value)
 {
     lock (this)
     {
         dataSegments.Add(new TlvBlockSegment(value));
         byteCount += value.GetByteCount();
     }
 }