C# Класс GSF.IO.Unmanaged.BinaryStream

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

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

Метод Описание
BinaryStream ( ) : System

Creates a BinaryStream that is in memory only.

BinaryStream ( ISupportsBinaryStream stream, bool leaveOpen = true ) : System

Creates a BinaryStream that is at position 0 of the provided stream.

BinaryStream ( MemoryPool pool ) : System

Creates a BinaryStream that is in memory only.

BinaryStream ( bool allocatesOwnMemory ) : System

Creates a BinaryStream that is in memory only.

ClearLocks ( ) : void

When accessing the underlying stream, a lock is placed on the data. Calling this method clears that lock.

UpdateLocalBuffer ( bool isWriting ) : void

Updates the local buffer data.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Метод Описание
CreatePool ( bool allocatesOwnMemory ) : ISupportsBinaryStream

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

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

Creates a BinaryStream that is in memory only.
public BinaryStream ( ) : System
Результат System

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

Creates a BinaryStream that is at position 0 of the provided stream.
public BinaryStream ( ISupportsBinaryStream stream, bool leaveOpen = true ) : System
stream ISupportsBinaryStream The base stream to use.
leaveOpen bool Determines if the underlying stream will automatically be /// disposed of when this class has it's dispose method called.
Результат System

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

Creates a BinaryStream that is in memory only.
public BinaryStream ( MemoryPool pool ) : System
pool MemoryPool
Результат System

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

Creates a BinaryStream that is in memory only.
public BinaryStream ( bool allocatesOwnMemory ) : System
allocatesOwnMemory bool true to allowcate its own memory rather than using the .
Результат System

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

When accessing the underlying stream, a lock is placed on the data. Calling this method clears that lock.
public ClearLocks ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Updates the local buffer data.
public UpdateLocalBuffer ( bool isWriting ) : void
isWriting bool hints to the stream if write access is desired.
Результат void