C# 클래스 Lawo.IO.Buffer

Implements the common members of ReadBuffer and WriteBuffer.
파일 보기 프로젝트 열기: Lawo/ember-plus-sharp

공개 메소드들

메소드 설명
this ( int index ) : byte

Gets or sets the byte in the buffer at index.

보호된 메소드들

메소드 설명
Buffer ( int bufferSize ) : System

Initializes a new instance of the Buffer class.

EnsureCapacity ( int size ) : void

Ensures that Capacity >= size.

GetBuffer ( ) : byte[]

Gets a reference to the internal byte array.

비공개 메소드들

메소드 설명
ThrowInvalidAsyncOperationException ( ) : Task
ThrowInvalidSyncOperationException ( ) : int

메소드 상세

Buffer() 보호된 메소드

Initializes a new instance of the Buffer class.
is 0 or negative.
protected Buffer ( int bufferSize ) : System
bufferSize int The size of the buffer in bytes.
리턴 System

EnsureCapacity() 보호된 메소드

Ensures that Capacity >= size.
protected EnsureCapacity ( int size ) : void
size int
리턴 void

GetBuffer() 보호된 메소드

Gets a reference to the internal byte array.
protected GetBuffer ( ) : byte[]
리턴 byte[]

this() 공개 메소드

Gets or sets the byte in the buffer at index.
>= .
public this ( int index ) : byte
index int
리턴 byte