Public Member Functions | |
| DownloadSegment (int block) | |
| Initialize a new Offset Segment. | |
| DownloadSegment (BinaryReader reader) | |
| Constructor to initialize the Download segment with reader. | |
| void | Serialize (BinaryWriter writer) |
| Serialize the writer object. | |
Static Public Member Functions | |
| static void | AddToArray (ArrayList segArray, DownloadSegment seg, int blockSize) |
| Adds the segment to the array. If this segment is contiguous with the last segment combine them. | |
Public Attributes | |
| int | StartBlock |
| This is the start block for the unchanged segment of data. | |
| int | EndBlock |
| The ending block in the range of contiguous blocks. | |
| Simias::Sync::DownloadSegment::DownloadSegment | ( | int | block | ) | [inline] |
Initialize a new Offset Segment.
| block | The block to copy. |
| Simias::Sync::DownloadSegment::DownloadSegment | ( | BinaryReader | reader | ) | [inline] |
Constructor to initialize the Download segment with reader.
| reader | Reader object to download |
| static void Simias::Sync::DownloadSegment::AddToArray | ( | ArrayList | segArray, | |
| DownloadSegment | seg, | |||
| int | blockSize | |||
| ) | [inline, static] |
Adds the segment to the array. If this segment is contiguous with the last segment combine them.
| segArray | The array to add the segment to. | |
| seg | The new segment to add. |
| void Simias::Sync::DownloadSegment::Serialize | ( | BinaryWriter | writer | ) | [inline] |
Serialize the writer object.
| writer | Writer object to serialize |
This is the start block for the unchanged segment of data.
The ending block in the range of contiguous blocks.
1.5.6