Example #1
0
 /// <summary>
 /// Constructs a new BitString24Value instance
 /// </summary>
 /// <param name="value">The wrapped bitstring24 value</param>
 public BitString24Value(BitString24 value)
 {
     this.Value = value;
 }
Example #2
0
 /// <summary>
 /// Constructs a new BitString24Value instance
 /// </summary>
 /// <param name="value">The wrapped bitstring24 value</param>
 public BitString24Value(BitString24 value)
 {
     this.Value = value;
 }
Example #3
0
 /// <summary>
 /// Saves a bitstring24 value to 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, BitString24 value)
 {
     sink.PutBitString24(value);
 }
Example #4
0
 /// <summary>
 /// Puts a value into the sink
 /// </summary>
 /// <param name="value">The value to put</param>
 public void PutBitString24(BitString24 value)
 {
     _require(StreamOp.BitString24);
     _writer.WriteBitString24(value, _state.Tag);
     _moveNext();
 }
Example #5
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 WriteBitString24(BitString24 value, byte tag = 255)
 {
     // TODO: implement
 }
Example #6
0
 /// <summary>
 /// Saves a bitstring24 value to 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, BitString24 value)
 {
     sink.PutBitString24(value);
 }