C# 클래스 SFML.Window.StreamAdaptor

Adapts a System.IO.Stream to be usable as a SFML InputStream
상속: IDisposable
파일 보기 프로젝트 열기: SFML/SFML.Net 1 사용 예제들

공개 메소드들

메소드 설명
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