We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1f19b commit 8ef4aa7Copy full SHA for 8ef4aa7
1 file changed
Asn1Parser/Universal/Asn1Universal.cs
@@ -139,4 +139,11 @@ public Byte[] GetRawData() {
139
public ReadOnlyMemory<Byte> GetRawDataAsMemory() {
140
return asnReader!.GetTagRawDataAsMemory();
141
}
142
+ /// <summary>
143
+ /// Gets the memory buffer that holds tag payload, excluding tag and length bytes.
144
+ /// </summary>
145
+ /// <returns>Raw payload value excluding tag and length bytes.</returns>
146
+ public ReadOnlyMemory<Byte> GetPayloadAsMemory() {
147
+ return asnReader!.GetPayloadAsMemory();
148
+ }
149
0 commit comments