Open Rails

BinaryFileReader Members

BinaryFileReader overview

Public Instance Constructors

BinaryFileReader Constructor Assumes that fb is positioned just after the SIMISA@F header filename is provided for error reporting purposes Each block has a token ID. It's value corresponds to the value of the TokenID enum. For some file types, ie .W files, the token value's will be offset into the TokenID table by the specified tokenOffset.

Public Instance Fields

Filename (inherited from BinaryBlockReader)
Flags (inherited from BinaryBlockReader)
ID (inherited from SBR)
InputStream (inherited from BinaryBlockReader)
Label (inherited from SBR)
RemainingBytes (inherited from BinaryBlockReader)

Public Instance Methods

Dispose (inherited from SBR)
EndOfBlock
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExpectComment (inherited from SBR) Verify that this is a comment block.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ReadFlags (inherited from BinaryBlockReader)
ReadFloat (inherited from BinaryBlockReader)
ReadInt (inherited from BinaryBlockReader)
ReadString (inherited from BinaryBlockReader)
ReadSubBlock (inherited from BinaryBlockReader)
ReadUInt (inherited from BinaryBlockReader)
ReadVector3 (inherited from SBR)
Skip
ThrowException (inherited from BinaryBlockReader)
ToString (inherited from Object)Returns a String that represents the current Object.
TraceInformation (inherited from BinaryBlockReader)
TraceWarning (inherited from BinaryBlockReader)
VerifyEndOfBlock
VerifyID (inherited from SBR)

Protected Instance Fields

TokenOffset (inherited from BinaryBlockReader)

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

BinaryFileReader Class | Orts.Parsers.Msts Namespace