FDO .NET API Reference Feature Data Objects

OSGeo::FDO::Common::Io::IoByteStreamReader Class Reference
[OSGeo::FDO::Common::Io]

Inherits OSGeo::FDO::Common::IStreamReaderImp.

Inheritance diagram for OSGeo::FDO::Common::Io::IoByteStreamReader:

Inheritance graph
[legend]
List of all members.

Detailed Description

IoByteStreamReader is an FDO reader for a Byte stream.

()

Definition at line 31 of file mgIoByteStreamReader.h.


Public Member Functions

__property System::Int64 get_Index ()
 Gets the current stream position. Position is measured by number of items from the stream start.
__property System::Int64 get_Length ()
 Gets the stream length.
 IoByteStreamReader (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a stream reader based on an unmanaged instance of the object.
 IoByteStreamReader (OSGeo::FDO::Common::Io::IoStream *stream)
 Creates a Byte Stream reader. Reads binary data from an IoStream.
System::Int32 ReadNext (System::Byte buffer[], System::Int32 offset, System::Int32 count)
 Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream. The caller is responsible to allocate a buffer large enough to store data.
System::Int32 ReadNext (System::Byte buffer[], System::Int32 offset)
 Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream. The caller is responsible to allocate a buffer large enough to store data.
System::Int32 ReadNext (System::Byte buffer[])
 Reads in the next block of items. The caller is responsible to allocate a buffer large enough to store data.
System::Void Reset ()
 Resets the current index to the stream start. Allows re-reading.
System::Void Skip (System::Int32 offset)
 Skips a number of items.

Comments or suggestions? Send us feedback.