Struct ufbx_stream_safe
A safer wrapper around ufbx_stream to facilitate the use of C# Stream objects with the ufbx library, providing automatic read, skip, and close operations.
Inherited Members
Namespace: ufbxSafe
Assembly: ufbxSafe.dll
Syntax
public struct ufbx_stream_safe
Constructors
ufbx_stream_safe(Stream)
Initializes a new instance of ufbx_stream_safe from a C# Stream.
Declaration
public ufbx_stream_safe(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The Stream object to wrap. |
Fields
ufbx_stream
The underlying ufbx_stream instance used by the ufbx library.
Declaration
public ufbx.ufbx_stream ufbx_stream
Field Value
| Type | Description |
|---|---|
| ufbx.ufbx_stream |
Operators
implicit operator ufbx_stream(ufbx_stream_safe)
Converts a ufbx_stream_safe instance to a raw ufbx_stream.
Declaration
public static implicit operator ufbx.ufbx_stream(ufbx_stream_safe source)
Parameters
| Type | Name | Description |
|---|---|---|
| ufbx_stream_safe | source | The ufbx_stream_safe instance to convert. |
Returns
| Type | Description |
|---|---|
| ufbx.ufbx_stream | The underlying ufbx_stream. |