C# Класс SFML.Window.StreamAdaptor

Adapts a System.IO.Stream to be usable as a SFML InputStream
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

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

Explicitly dispose the object

StreamAdaptor ( Stream stream ) : System

Construct from a System.IO.Stream

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

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

Destroy the object

GetSize ( IntPtr userData ) : long

Called to get the total size of the stream

Read ( IntPtr data, long size, IntPtr userData ) : long

Called to read from the stream

Seek ( long position, IntPtr userData ) : long

Called to set the read position in the stream

Tell ( IntPtr userData ) : long

Get the current read position in the stream

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

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

Explicitly dispose the object
public Dispose ( ) : void
Результат void

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

Construct from a System.IO.Stream
public StreamAdaptor ( Stream stream ) : System
stream Stream Stream to adapt
Результат System