C# Класс BACnet.Core.MultiBufferStream

Наследование: Stream
Показать файл Открыть проект

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

Метод Описание
Flush ( ) : void

Flushes the stream

MultiBufferStream ( List buffers ) : System

Constructs a new multi buffer stream instance

Read ( byte buffer, int offset, int count ) : int

Reads from the stream

Seek ( long offset, SeekOrigin origin ) : long

Seeks to a position within the stream

SetLength ( long value ) : void

Sets the length of the stream

Write ( byte buffer, int offset, int count ) : void

Writes to the stream

Приватные методы

Метод Описание
_nextBuffer ( ) : bool

Advances to the next buffer

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

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

Flushes the stream
public Flush ( ) : void
Результат void

MultiBufferStream() публичный метод

Constructs a new multi buffer stream instance
public MultiBufferStream ( List buffers ) : System
buffers List
Результат System

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

Reads from the stream
public Read ( byte buffer, int offset, int count ) : int
buffer byte The buffer to read into
offset int The offset to read into
count int The number of bytes to read
Результат int

Seek() публичный метод

Seeks to a position within the stream
public Seek ( long offset, SeekOrigin origin ) : long
offset long The offset to seek to
origin SeekOrigin The origin of the offset
Результат long

SetLength() публичный метод

Sets the length of the stream
public SetLength ( long value ) : void
value long The new length of the stream
Результат void

Write() публичный метод

Writes to the stream
public Write ( byte buffer, int offset, int count ) : void
buffer byte The buffer containing the bytes to write
offset int The offset of the bytes to write
count int The number of bytes to write
Результат void