C# Класс RampUp.Buffers.ByteSlice

A common denominator for byte array and ByteChunk.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Count int

Открытые методы

Метод Описание
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

Описание методов

ByteSlice() публичный Метод

public ByteSlice ( ByteChunk chunk )
chunk ByteChunk

ByteSlice() публичный Метод

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

CopyFrom() публичный Метод

public CopyFrom ( int alreadyCopied, byte segmentBuffer, int indexInSegment, int bytesToRead ) : void
alreadyCopied int
segmentBuffer byte
indexInSegment int
bytesToRead int
Результат void

CopyTo() публичный Метод

public CopyTo ( byte segmentBuffer, int currentSegmentIndex, int spaceToWrite, int additionalOffset ) : void
segmentBuffer byte
currentSegmentIndex int
spaceToWrite int
additionalOffset int
Результат void

Описание свойств

Count публичное свойство

public int Count
Результат int