Implementation of AiIOStream reading from a InputStream.
More...
Inherits jassimp.AiIOStream.
Implementation of AiIOStream reading from a InputStream.
- Author
- Jesper Smith
◆ AiInputStreamIOStream() [1/3]
jassimp.AiInputStreamIOStream.AiInputStreamIOStream |
( |
URI |
uri | ) |
throws IOException |
|
inline |
◆ AiInputStreamIOStream() [2/3]
jassimp.AiInputStreamIOStream.AiInputStreamIOStream |
( |
URL |
url | ) |
throws IOException |
|
inline |
◆ AiInputStreamIOStream() [3/3]
jassimp.AiInputStreamIOStream.AiInputStreamIOStream |
( |
InputStream |
is | ) |
throws IOException |
|
inline |
◆ getFileSize()
int jassimp.AiInputStreamIOStream.getFileSize |
( |
| ) |
|
|
inline |
The total size of this stream.
- Returns
- total size of this stream
Implements jassimp.AiIOStream.
◆ read()
boolean jassimp.AiInputStreamIOStream.read |
( |
ByteBuffer |
buffer | ) |
|
|
inline |
Read all data into buffer.
The whole stream should be read into the buffer. No support is provided for partial reads.
- Parameters
-
buffer | Target buffer for the model data |
- Returns
- true if successful, false if an error occurred.
Implements jassimp.AiIOStream.
The documentation for this class was generated from the following file: