UsmapBinaryReader

Namespace: UAssetAPI

Reads primitive data types from .usmap files.

public class UsmapBinaryReader : System.IO.BinaryReader, System.IDisposable

Inheritance ObjectBinaryReaderUsmapBinaryReader
Implements IDisposable

Fields

File

public Usmap File;

Properties

BaseStream

public Stream BaseStream { get; }

Property Value

Stream

Constructors

UsmapBinaryReader(Stream, Usmap)

public UsmapBinaryReader(Stream stream, Usmap file)

Parameters

stream Stream

file Usmap

Methods

ReadInt16()

public short ReadInt16()

Returns

Int16

ReadUInt16()

public ushort ReadUInt16()

Returns

UInt16

ReadInt32()

public int ReadInt32()

Returns

Int32

ReadUInt32()

public uint ReadUInt32()

Returns

UInt32

ReadInt64()

public long ReadInt64()

Returns

Int64

ReadUInt64()

public ulong ReadUInt64()

Returns

UInt64

ReadSingle()

public float ReadSingle()

Returns

Single

ReadDouble()

public double ReadDouble()

Returns

Double

ReadString()

public string ReadString()

Returns

String

ReadString(Int32)

public string ReadString(int fixedLength)

Parameters

fixedLength Int32

Returns

String

ReadName()

public string ReadName()

Returns

String