C# Class DistributedFileSystem.PositionLength

Wrapper used to segment a DFS item data into chunks
显示文件 Open project: MarcFletcher/NetworkComms.Net

Public Properties

Property Type Description
Length int
Position int

Public Methods

Method Description
PositionLength ( int position, int length ) : NetworkCommsDotNet

Initialise a new PositionLength struct

Method Details

PositionLength() public method

Initialise a new PositionLength struct
public PositionLength ( int position, int length ) : NetworkCommsDotNet
position int The start position in bytes of this chunk
length int The number of bytes of this chunk
return NetworkCommsDotNet

Property Details

Length public_oe property

The number of bytes of this chunk
public int Length
return int

Position public_oe property

The start position in bytes of this chunk
public int Position
return int