C# Class RampUp.Buffers.ByteSlice

A common denominator for byte array and ByteChunk.
Afficher le fichier Open project: Scooletz/RampUp Class Usage Examples

Méthodes publiques

Свойство Type Description
Count int

Méthodes publiques

Méthode Description
ByteSlice ( ByteChunk chunk )
ByteSlice ( byte buffer, int offset, int count )
CopyFrom ( int alreadyCopied, byte segmentBuffer, int indexInSegment, int bytesToRead ) : void
CopyTo ( byte segmentBuffer, int currentSegmentIndex, int spaceToWrite, int additionalOffset ) : void

Method Details

ByteSlice() public méthode

public ByteSlice ( ByteChunk chunk )
chunk ByteChunk

ByteSlice() public méthode

public ByteSlice ( byte buffer, int offset, int count )
buffer byte
offset int
count int

CopyFrom() public méthode

public CopyFrom ( int alreadyCopied, byte segmentBuffer, int indexInSegment, int bytesToRead ) : void
alreadyCopied int
segmentBuffer byte
indexInSegment int
bytesToRead int
Résultat void

CopyTo() public méthode

public CopyTo ( byte segmentBuffer, int currentSegmentIndex, int spaceToWrite, int additionalOffset ) : void
segmentBuffer byte
currentSegmentIndex int
spaceToWrite int
additionalOffset int
Résultat void

Property Details

Count public_oe property

public int Count
Résultat int