NrbfDecoder.DecodeClassRecord(Stream, PayloadOptions, Boolean) 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.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.