C# Класс Lawo.IO.Buffer

Implements the common members of ReadBuffer and WriteBuffer.
Показать файл Открыть проект

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

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