C# 클래스 RampUp.Buffers.ByteSlice

A common denominator for byte array and ByteChunk.
파일 보기 프로젝트 열기: Scooletz/RampUp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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