C# Класс AK.F1.Timing.Server.IO.ByteBufferSnapshot

Defines a snapshot of a AK.F1.Timing.Server.IO.ByteBuffer.
Показать файл Открыть проект Примеры использования класса

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

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