|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| bool | is_read_within_bounds (const Stream &mem, unsigned int cnt) |
| unsigned int | mem_read (Stream &mem, unsigned long long &i) |
| unsigned int | mem_read (Stream &mem, unsigned int &i) |
| unsigned int | mem_read (Stream &mem, unsigned short &i) |
| unsigned int | mem_read (Stream &mem, unsigned char &i) |
| unsigned int | mem_read (Stream &mem, unsigned char *i, unsigned int cnt) |
Variables | |
| static const char * | msg_error_seek = "DDS: trying to seek beyond end of stream (corrupt file?)" |
| static const char * | msg_error_read = "DDS: trying to read beyond end of stream (corrupt file?)" |
|
inline |
Definition at line 29 of file Stream.cpp.
References Stream::pos, and Stream::size.
Referenced by mem_read().
| unsigned int mem_read | ( | Stream & | mem, |
| unsigned char & | i | ||
| ) |
Definition at line 89 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_read, Stream::pos, and Stream::set_failed().
| unsigned int mem_read | ( | Stream & | mem, |
| unsigned char * | i, | ||
| unsigned int | cnt | ||
| ) |
Definition at line 100 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_read, Stream::pos, and Stream::set_failed().
| unsigned int mem_read | ( | Stream & | mem, |
| unsigned int & | i | ||
| ) |
Definition at line 67 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_read, Stream::pos, and Stream::set_failed().
| unsigned int mem_read | ( | Stream & | mem, |
| unsigned long long & | i | ||
| ) |
Definition at line 56 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_seek, Stream::pos, and Stream::set_failed().
| unsigned int mem_read | ( | Stream & | mem, |
| unsigned short & | i | ||
| ) |
Definition at line 78 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_read, Stream::pos, and Stream::set_failed().
|
static |
Definition at line 27 of file Stream.cpp.
Referenced by mem_read().
|
static |
Definition at line 26 of file Stream.cpp.
Referenced by mem_read(), and Stream::seek().