Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NrbfDecoder.DecodeClassRecord(Stream, PayloadOptions, Boolean) Method

Definition

Namespace:
System.Formats.Nrbf
Assembly:
System.Formats.Nrbf.dll
Package:
System.Formats.Nrbf v11.0.0-preview.5.26302.115
Source:
NrbfDecoder.cs
Source:
NrbfDecoder.cs
Source:
NrbfDecoder.cs
Source:
NrbfDecoder.cs
Source:
NrbfDecoder.cs

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.

Decodes the provided NRBF payload that is expected to contain an instance of any class (or struct) that is not an Array or a primitive type.

public static System.Formats.Nrbf.ClassRecord DecodeClassRecord(System.IO.Stream payload, System.Formats.Nrbf.PayloadOptions? options = default, bool leaveOpen = false);
static member DecodeClassRecord : System.IO.Stream * System.Formats.Nrbf.PayloadOptions * bool -> System.Formats.Nrbf.ClassRecord
Public Shared Function DecodeClassRecord (payload As Stream, Optional options As PayloadOptions = Nothing, Optional leaveOpen As Boolean = false) As ClassRecord

Parameters

payload
Stream

The NRBF payload.

options
PayloadOptions

Options to control behavior during parsing.

leaveOpen
Boolean

true to leave payload payload open after the reading is finished; otherwise, false.

Returns

A ClassRecord that represents the root object.

Applies to


Feedback

Was this page helpful?