UnrealBinaryReader
Namespace: UAssetAPI
Any binary reader used in the parsing of Unreal file types.
public class UnrealBinaryReader : System.IO.BinaryReader, System.IDisposable
Inheritance Object → BinaryReader → UnrealBinaryReader
Implements IDisposable
Properties
BaseStream
public Stream BaseStream { get; }
Property Value
Constructors
UnrealBinaryReader(Stream)
public UnrealBinaryReader(Stream stream)
Parameters
stream
Stream
Methods
ReverseIfBigEndian(Byte[])
protected Byte[] ReverseIfBigEndian(Byte[] data)
Parameters
data
Byte[]
Returns
ReadInt16()
public short ReadInt16()
Returns
ReadUInt16()
public ushort ReadUInt16()
Returns
ReadInt32()
public int ReadInt32()
Returns
ReadUInt32()
public uint ReadUInt32()
Returns
ReadInt64()
public long ReadInt64()
Returns
ReadUInt64()
public ulong ReadUInt64()
Returns
ReadSingle()
public float ReadSingle()
Returns
ReadDouble()
public double ReadDouble()
Returns
ReadBooleanInt()
public bool ReadBooleanInt()
Returns
ReadString()
public string ReadString()
Returns
ReadFString(FSerializedNameHeader)
public FString ReadFString(FSerializedNameHeader nameHeader)
Parameters
nameHeader
FSerializedNameHeader
Returns
ReadNameMapString(FSerializedNameHeader, UInt32&)
public FString ReadNameMapString(FSerializedNameHeader nameHeader, UInt32& hashes)
Parameters
nameHeader
FSerializedNameHeader
hashes
UInt32&
Returns
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