C# Class GSF.Historian.Files.ArchiveFileAllocationTable.VariableTableRegion

Defines the variable table region of the ArchiveFileAllocationTable.
Inheritance: ISupportBinaryImage
Show file Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
GenerateBinaryImage ( byte buffer, int startIndex ) : int

Generates binary image of the VariableTableRegion and copies it into the given buffer, for BinaryLength bytes.

ParseBinaryImage ( byte buffer, int startIndex, int length ) : int

Initializes VariableTableRegion by parsing the specified buffer containing a binary image.

VariableTableRegion ( ArchiveFileAllocationTable parent ) : System

Creates a new instance of the VariableTableRegion.

Method Details

GenerateBinaryImage() public method

Generates binary image of the VariableTableRegion and copies it into the given buffer, for BinaryLength bytes.
is null. /// or is less than 0 -or- /// and will exceed length. ///
public GenerateBinaryImage ( byte buffer, int startIndex ) : int
buffer byte Buffer used to hold generated binary image of the source object.
startIndex int 0-based starting index in the to start writing.
return int

ParseBinaryImage() public method

Initializes VariableTableRegion by parsing the specified buffer containing a binary image.
is null. /// or is less than 0 -or- /// and will exceed length. ///
public ParseBinaryImage ( byte buffer, int startIndex, int length ) : int
buffer byte Buffer containing binary image to parse.
startIndex int 0-based starting index in the to start parsing.
length int Valid number of bytes within from .
return int

VariableTableRegion() public method

Creates a new instance of the VariableTableRegion.
public VariableTableRegion ( ArchiveFileAllocationTable parent ) : System
parent ArchiveFileAllocationTable Reference to parent .
return System