public struct FileReader : IFileReader, IDisposable, IReader
Properties
Declaration
public readonly FormatVersion FormatVersion { get; }
Property Value
Declaration
public readonly uint FormatVersionNumeric { get; }
Property Value
Declaration
public readonly string FullPath { get; }
Property Value
Declaration
public readonly bool HasOpenFile { get; }
Property Value
Methods
AsyncRead(EntryType, Int64, Int64, Allocator)
Declaration
public GenericReadOperation AsyncRead(EntryType entry, long offset, long count, Allocator allocator)
Parameters
Returns
AsyncRead(EntryType, DynamicArray<Byte>, Int64, Int64)
Declaration
public GenericReadOperation AsyncRead(EntryType entry, DynamicArray<byte> buffer, long offset, long count)
Parameters
Returns
Declaration
Declaration
GetEntryCount(EntryType)
Declaration
public uint GetEntryCount(EntryType entry)
Parameters
Returns
GetEntryFormat(EntryType)
Declaration
public EntryFormat GetEntryFormat(EntryType type)
Parameters
Returns
GetSizeForEntryRange(EntryType, Int64, Int64)
Declaration
public long GetSizeForEntryRange(EntryType entry, long offset, long count)
Parameters
Returns
Declaration
public ReadError Open(string filePath)
Parameters
| Type |
Name |
Description |
| String |
filePath |
|
Returns
Read(EntryType, Int64, Int64, Allocator)
Declaration
public GenericReadOperation Read(EntryType entry, long offset, long count, Allocator allocator)
Parameters
Returns
Read(EntryType, DynamicArray<Byte>, Int64, Int64)
Declaration
public GenericReadOperation Read(EntryType entry, DynamicArray<byte> buffer, long offset, long count)
Parameters
Returns
ReadUnsafe(EntryType, Void*, Int64, Int64, Int64)
Declaration
public ReadError ReadUnsafe(EntryType entry, void *buffer, long bufferLength, long offset, long count)
Parameters
Returns