UnrealBinaryReader

Namespace: UAssetAPI

Any binary reader used in the parsing of Unreal file types.

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

Inheritance ObjectBinaryReaderUnrealBinaryReader
Implements IDisposable

Properties

BaseStream

public Stream BaseStream { get; }

Property Value

Stream

Constructors

UnrealBinaryReader(Stream)

public UnrealBinaryReader(Stream stream)

Parameters

stream Stream

Methods

ReverseIfBigEndian(Byte[])

protected Byte[] ReverseIfBigEndian(Byte[] data)

Parameters

data Byte[]

Returns

Byte[]

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

ReadBooleanInt()

public bool ReadBooleanInt()

Returns

Boolean

ReadString()

public string ReadString()

Returns

String

ReadFString(FSerializedNameHeader)

public FString ReadFString(FSerializedNameHeader nameHeader)

Parameters

nameHeader FSerializedNameHeader

Returns

FString

ReadNameMapString(FSerializedNameHeader, UInt32&)

public FString ReadNameMapString(FSerializedNameHeader nameHeader, UInt32& hashes)

Parameters

nameHeader FSerializedNameHeader

hashes UInt32&

Returns

FString

ReadNameBatch(Boolean, UInt64&, List`1&)

public void ReadNameBatch(bool VerifyHashes, UInt64& HashVersion, List`1& nameMap)

Parameters

VerifyHashes Boolean

HashVersion UInt64&

nameMap List`1&

ReadCustomVersionContainer(ECustomVersionSerializationFormat, List<CustomVersion>, Usmap)

public List<CustomVersion> ReadCustomVersionContainer(ECustomVersionSerializationFormat format, List<CustomVersion> oldCustomVersionContainer, Usmap Mappings)

Parameters

format ECustomVersionSerializationFormat

oldCustomVersionContainer List<CustomVersion>

Mappings Usmap

Returns

List<CustomVersion>