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

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

Public Methods

Method Description
FixedTableRegion ( ArchiveFileAllocationTable parent ) : System

Creates a new instance of the FixedTableRegion.

GenerateBinaryImage ( byte buffer, int startIndex ) : int

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

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

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

Method Details

FixedTableRegion() public method

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

GenerateBinaryImage() public method

Generates binary image of the FixedTableRegion 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 FixedTableRegion 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