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

Provides an append only byte buffer that supports the efficient creation of snapshots. This class cannot be inherited.
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
Append ( byte buffer ) : void

Appends the specified buffer to this buffer.

ByteBuffer ( int initialCapacity ) : System

Initialises new instance of the AK.F1.Timing.Server.IO.ByteBuffer class and specifies the initial buffer capacity.

CreateSnapshot ( ) : ByteBufferSnapshot

Creates a snapshot of this buffer.

비공개 메소드들

메소드 설명
EnsureCapacity ( int count ) : void
ResizeBuffer ( int newSize ) : void

메소드 상세

Append() 공개 메소드

Appends the specified buffer to this buffer.
/// Thrown when this instance has been disposed of. /// /// Thrown when the buffer is unable to be appended. ///
public Append ( byte buffer ) : void
buffer byte The buffer to append.
리턴 void

ByteBuffer() 공개 메소드

Initialises new instance of the AK.F1.Timing.Server.IO.ByteBuffer class and specifies the initial buffer capacity.
/// Thrown when is not positive. ///
public ByteBuffer ( int initialCapacity ) : System
initialCapacity int The initial buffer cpacity.
리턴 System

CreateSnapshot() 공개 메소드

Creates a snapshot of this buffer.
public CreateSnapshot ( ) : ByteBufferSnapshot
리턴 ByteBufferSnapshot