RageLib.Resources.ResourceDataReader - indilo53/gta-toolkit GitHub Wiki

Represents a resource data reader.

namespace: RageLib.Resources

Inheritance Hierarchy

Syntax

public class ResourceDataReader : DataReader

Constructors

prototype description
method ResourceDataReader (Stream systemStream, Stream graphicsStream, Endianess endianess=Endianess.LittleEndian) Initializes a new resource data reader for the specified system- and graphics-stream.

Properties

name description
property Length Gets the length of the underlying stream.
property Position Gets or sets the position within the underlying stream.

Methods

prototype description
method T ReadBlock< T >(params object[] parameters) Reads a block.
method T ReadBlockAt< T >(ulong position, params object[] parameters) Reads a block at a specified position.

Events

name description
⚠️ **GitHub.com Fallback** ⚠️