/// <summary> /// Write a byte string, without a tag, to the stream. /// The data is length-prefixed. /// </summary> /// <param name="value">The value to write</param> public void WriteBytes(ByteString value) { var span = new Span <byte>(buffer); WritingPrimitives.WriteBytes(ref span, ref state, value); }
/// <summary> /// Write a byte string, without a tag, to the stream. /// The data is length-prefixed. /// </summary> /// <param name="value">The value to write</param> public void WriteBytes(ByteString value) { WritingPrimitives.WriteBytes(ref buffer, ref state, value); }