C# 클래스 AK.F1.Timing.Server.IO.ByteBufferSnapshot

Defines a snapshot of a AK.F1.Timing.Server.IO.ByteBuffer.
파일 보기 프로젝트 열기: simoneb/ak-f1-timing 1 사용 예제들

공개 메소드들

메소드 설명
ByteBufferSnapshot ( byte buffer, int offset, int count ) : System

Initialsies a new instance of the AK.F1.Timing.Server.IO.ByteBufferSnapshot class and specifies the buffer, offset and count.

CopyTo ( int srcOffset, byte dst, int dstOffset, int count ) : void

Copies a specified number of bytes from this snapshot starting at a particular offset to a destination array starting at a particular offset.

메소드 상세

ByteBufferSnapshot() 공개 메소드

Initialsies a new instance of the AK.F1.Timing.Server.IO.ByteBufferSnapshot class and specifies the buffer, offset and count.
/// Thrown when is . /// /// Thrown when /// /// /// is negative or greater than the length of /// /// /// is negative or greater than the length of /// given /// /// ///
public ByteBufferSnapshot ( byte buffer, int offset, int count ) : System
buffer byte The buffer.
offset int The buffer offset.
count int The buffer length.
리턴 System

CopyTo() 공개 메소드

Copies a specified number of bytes from this snapshot starting at a particular offset to a destination array starting at a particular offset.
/// Thrown when is . /// /// Thrown when , or /// is not valid. ///
public CopyTo ( int srcOffset, byte dst, int dstOffset, int count ) : void
srcOffset int The zero-based byte offset.
dst byte The destination buffer.
dstOffset int The zero-based offset into .
count int The number of bytes to copy.
리턴 void