wx.FileSys.wxInputStream Class Reference

List of all members.

Public Member Functions

override void Flush ()
override int Read (byte[] buffer, int offset, int count)
override long Seek (long offset, SeekOrigin origin)
override void SetLength (long value)
override void Write (byte[] buffer, int offset, int count)
 wxInputStream (IntPtr wxObject)
 wxInputStream (wxInputStreamWrapper src)


override bool CanRead [get]
override bool CanSeek [get]
override bool CanWrite [get]
override long Length [get]
override long Position [get, set]

Detailed Description

This is a .NET framework stream wrapping a wxWidgets wxInputStream. The wrapper of a wxInputStream falls into 2 parts. This is the instance that directly inherits from Stream and, thus, provides a fassades compliant to the standard .NET framework. Class wxInputStreamWrapper inherits from wx.Object instead and wrapps the pointer to a wxWidgets stream.

Constructor & Destructor Documentation

wx.FileSys.wxInputStream.wxInputStream ( wxInputStreamWrapper  src  ) 

wx.FileSys.wxInputStream.wxInputStream ( IntPtr  wxObject  ) 

Receives an IntPtr to a wxInputStream.

Member Function Documentation

override void wx.FileSys.wxInputStream.Flush (  ) 

override int wx.FileSys.wxInputStream.Read ( byte[]  buffer,
int  offset,
int  count 

override long wx.FileSys.wxInputStream.Seek ( long  offset,
SeekOrigin  origin 

This is not supported.

override void wx.FileSys.wxInputStream.SetLength ( long  value  ) 

This is not supported.

override void wx.FileSys.wxInputStream.Write ( byte[]  buffer,
int  offset,
int  count 

This is not implemented.

Property Documentation

override bool wx.FileSys.wxInputStream.CanRead [get]

override bool wx.FileSys.wxInputStream.CanSeek [get]

Tests whether this can tell and

override bool wx.FileSys.wxInputStream.CanWrite [get]

This is false.

override long wx.FileSys.wxInputStream.Length [get]

This typically returns the length of the stream in position units.

override long wx.FileSys.wxInputStream.Position [get, set]

This is supported if the source supports TellI and SeekI.

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads