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
ReadBytes()
public byte[] ReadBytes()
Returns
- byte[]
ReadEnum()
public (EnumType, uint) ReadEnum()
Returns
ReadF32()
public float ReadF32()
Returns
ReadI16()
public short ReadI16()
Returns
ReadI32()
public int ReadI32()
Returns
ReadI8()
public sbyte ReadI8()
Returns
ReadOption()
public bool ReadOption()
Returns
ReadSeqSized()
public ulong ReadSeqSized()
Returns
ReadStr()
public string ReadStr()
Returns
ReadStruct()
public ulong ReadStruct()
Returns
ReadU16()
public ushort ReadU16()
Returns
ReadU32()
public uint ReadU32()
Returns
ReadU64()
public ulong ReadU64()
Returns
ReadU8()
public byte ReadU8()