Table of Contents

Class Reader

Namespace
Mech3DotNet.Exchange
Assembly
Mech3DotNet.dll

A reader of binary exchange data. Driven by a deserializer.

public class Reader : IDisposable
Inheritance
Reader
Implements
Inherited Members

Constructors

Reader(byte[])

public Reader(byte[] bytes)

Parameters

bytes byte[]

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

ReadBool()

public bool ReadBool()

Returns

bool

ReadBytes()

public byte[] ReadBytes()

Returns

byte[]

ReadEnum()

public (EnumType, uint) ReadEnum()

Returns

(EnumType, uint)

ReadF32()

public float ReadF32()

Returns

float

ReadI16()

public short ReadI16()

Returns

short

ReadI32()

public int ReadI32()

Returns

int

ReadI8()

public sbyte ReadI8()

Returns

sbyte

ReadOption()

public bool ReadOption()

Returns

bool

ReadSeqSized()

public ulong ReadSeqSized()

Returns

ulong

ReadStr()

public string ReadStr()

Returns

string

ReadStruct()

public ulong ReadStruct()

Returns

ulong

ReadU16()

public ushort ReadU16()

Returns

ushort

ReadU32()

public uint ReadU32()

Returns

uint

ReadU64()

public ulong ReadU64()

Returns

ulong

ReadU8()

public byte ReadU8()

Returns

byte