Partilhar via


VersionedBinaryReader Class

Definition

Specialization of BinaryReader that reads a versioned byte stream.

public ref class VersionedBinaryReader : System::IO::BinaryReader
public class VersionedBinaryReader : System.IO.BinaryReader
type VersionedBinaryReader = class
    inherit BinaryReader
Public Class VersionedBinaryReader
Inherits BinaryReader
Inheritance
VersionedBinaryReader

Constructors

VersionedBinaryReader(Stream, Encoding, Boolean)

Initializes a new instance of VersionedBinaryReader.

VersionedBinaryReader(Stream)

Initializes a new instance of VersionedBinaryReader.

Methods

ReadVersioned(Int32, VersionedBinaryReader+MultiVersionReadCallback)

Reads from the base stream, with version checking. callback is invoked regardless of the version of the stream. Use this overload if you want to support reading stream versions other than the expected version.

ReadVersioned(Int32, VersionedBinaryReader+ReadCallback, Boolean)

Reads from the base stream, with version checking.

ReadVersioned<T>(Int32, Func<VersionedBinaryReader,T>, Boolean)

Reads from the base stream, with version checking, returning the result from the callback.

Applies to