Exemplo n.º 1
0
 /// <summary>
 /// Saves a bitstring8 value a sink
 /// </summary>
 /// <param name="sink">The sink to save to</param>
 /// <param name="value">The value to save</param>
 public static void Save(IValueSink sink, BitString8 value)
 {
     sink.PutBitString8(value);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Puts a value into the sink
 /// </summary>
 /// <param name="value">The value to put</param>
 public void PutBitString8(BitString8 value)
 {
     _require(StreamOp.BitString8);
     _writer.WriteBitString8(value, _state.Tag);
     _moveNext();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Writes a bitstring value to the stream
 /// </summary>
 /// <param name="value">The value to write</param>
 /// <param name="tag">The tag number, or 255 for an application tag</param>
 public void WriteBitString8(BitString8 value, byte tag = 255)
 {
     // TODO: implement
 }
Exemplo n.º 4
0
 /// <summary>
 /// Saves a bitstring8 value a sink
 /// </summary>
 /// <param name="sink">The sink to save to</param>
 /// <param name="value">The value to save</param>
 public static void Save(IValueSink sink, BitString8 value)
 {
     sink.PutBitString8(value);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Constructs a new BitString8Value instance
 /// </summary>
 /// <param name="value">The wrapped bitstring8 value</param>
 public BitString8Value(BitString8 value)
 {
     this.Value = value;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructs a new BitString8Value instance
 /// </summary>
 /// <param name="value">The wrapped bitstring8 value</param>
 public BitString8Value(BitString8 value)
 {
     this.Value = value;
 }