Click or drag to resize

IOStream Class

Defines a stream to some file input or output source. This object is responsible for reading/writing data that is used by Assimp.
Inheritance Hierarchy
SystemObject
  Internal.AssimpIOStream

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public abstract class IOStream : IDisposable

The IOStream type exposes the following members.

Constructors
 NameDescription
Public methodIOStream(String, FileIOMode) Constructs a new IOStream.
Protected methodIOStream(String, FileIOMode, Boolean) Constructs a new IOStream.
Top
Properties
 NameDescription
Public propertyFileMode Gets the original desired file access mode.
Public propertyIsDisposed Gets whether or not this IOStream has been disposed.
Public propertyIsValid Gets whether the stream is in fact valid - that is, the input/output has been properly located and can be read/written.
Public propertyPathToFile Gets the original path to file given by Assimp.
Top
Methods
 NameDescription
Public methodClose Closes the stream - flushing any data not yet read/written and disposes of resources.
Public methodDispose Disposes of resources held by the IOStream.
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizes an instance of the IOStream class.
(Overrides ObjectFinalize)
Public methodFlush Flushes all data currently in the stream buffers.
Public methodGetFileSize Gets the total file size (in bytes).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPosition Gets the current file position pointer (in bytes).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Initializes the system by setting up native pointers for Assimp to the specified functions. A reference to each supplied callback is held on to avoid it being GC'ed.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAiFileFlushProcCallback for Assimp that handles flushes.
Protected methodOnAiFileReadProc Callback for Assimp that handles reads.
Protected methodOnAiFileSeekProc Callback for Assimp that handles seeks.
Protected methodOnAiFileSizeProc Callback for Assimp that handles size requests.
Protected methodOnAiFileTellProc Callback for Assimp that handles tell requests.
Protected methodOnAiFileWriteProc Callback for Assimp that handles writes.
Public methodRead Reads data from the stream.
Public methodSeek Sets the current file position pointer.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Writes data to the stream.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also