C# Класс AcoustID.Chromaprint.CombinedBuffer

Combines two short (Int16) buffers.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CombinedBuffer ( short buffer1, int size1, short buffer2, int size2 ) : System
Flush ( short buffer ) : void

Read all remaining values from the buffer.

Read ( short buffer, int offset, int length ) : int

Read a number of values from the combined buffer.

Shift ( int shift ) : int

Shift the buffer offset.

this ( int i ) : short

Gets the element at given position.

Описание методов

CombinedBuffer() публичный Метод

public CombinedBuffer ( short buffer1, int size1, short buffer2, int size2 ) : System
buffer1 short
size1 int
buffer2 short
size2 int
Результат System

Flush() публичный Метод

Read all remaining values from the buffer.
public Flush ( short buffer ) : void
buffer short Buffer to write into.
Результат void

Read() публичный Метод

Read a number of values from the combined buffer.
public Read ( short buffer, int offset, int length ) : int
buffer short Buffer to write into.
offset int Offset to start reading.
length int Number of values to read.
Результат int

Shift() публичный Метод

Shift the buffer offset.
public Shift ( int shift ) : int
shift int Places to shift.
Результат int

this() публичный Метод

Gets the element at given position.
public this ( int i ) : short
i int
Результат short