/// <summary> /// Constructs a new BitString24Value instance /// </summary> /// <param name="value">The wrapped bitstring24 value</param> public BitString24Value(BitString24 value) { this.Value = value; }
/// <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); }
/// <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(); }
/// <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 }