Click or drag to resize

Offset Class

Represents a space of 4 bytes reserved in the underlying stream of a BinaryDataWriter which can be comfortably satisfied later on.
Inheritance Hierarchy
SystemObject
  Syroot.BinaryDataOffset

Namespace:  Syroot.BinaryData
Assembly:  Syroot.BinaryData (in Syroot.BinaryData.dll) Version: 4.0.0
Syntax
public class Offset

The Offset type exposes the following members.

Constructors
  NameDescription
Public methodOffset
Initializes a new instance of the Offset class reserving an offset with the specified BinaryDataWriter at the current position.
Top
Properties
  NameDescription
Public propertyPosition
Gets the address at which the allocation is made.
Public propertyWriter
Gets the BinaryDataWriter in which underlying stream the allocation is made.
Top
Methods
  NameDescription
Public methodSatisfy
Satisfies the offset by writing the current position of the underlying stream at the reserved Position, then seeking back to the current position.
Public methodSatisfy(Int32)
Satisfies the offset by writing the given value of the underlying stream at the reserved Position, then seeking back to the current position.
Top
See Also