AsnWriter.WriteEncodedValue(ReadOnlySpan<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write a single value which has already been encoded.
public:
void WriteEncodedValue(ReadOnlySpan<System::Byte> value);
public void WriteEncodedValue (ReadOnlySpan<byte> value);
member this.WriteEncodedValue : ReadOnlySpan<byte> -> unit
Public Sub WriteEncodedValue (value As ReadOnlySpan(Of Byte))
Parameters
- value
- ReadOnlySpan<Byte>
The value to write.
Exceptions
value
could not be read under the current encoding rules.
-or-
<code data-dev-comment-type="paramref">value</code> has data beyond the end of the first value.
Remarks
This method only checks that the tag and length are encoded according to the current ruleset, and that the end of the value is the end of the input. The contents are not evaluated for semantic meaning.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.