Skip to content

RageLib.Resources.ResourceDataReader

Jérémie N'gadi edited this page Aug 5, 2018 · 3 revisions

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
Clone this wiki locally