AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.BlockPublishStore.Block Class Reference

Public Member Functions

 Block (int index)
 Initializes a block with the specified Index More...
 
long getPosition ()
 Returns the position of the block within the buffer More...
 
string toString ()
 Provides a string representation of the block, including its index and sequence number. More...
 

Public Attributes

int index
 
Block nextInChain
 
Block nextInList
 
ulong sequenceNumber
 

Static Public Attributes

const int SIZE = 2048
 
const int BLOCK_HEADER_SIZE = 32
 
const int BLOCK_DATA_SIZE = Block.SIZE - BLOCK_HEADER_SIZE
 
const int BLOCK_CRC_POSITION = 16
 
const int CHAIN_HEADER = 32
 
const int BLOCK_READY_POSITION = 24
 

Constructor & Destructor Documentation

◆ Block()

AMPS.Client.BlockPublishStore.Block.Block ( int  index)
inline

Initializes a block with the specified Index

Member Function Documentation

◆ getPosition()

long AMPS.Client.BlockPublishStore.Block.getPosition ( )
inline

Returns the position of the block within the buffer

◆ toString()

string AMPS.Client.BlockPublishStore.Block.toString ( )
inline

Provides a string representation of the block, including its index and sequence number.


The documentation for this class was generated from the following file: