Blender
V3.3
|
Go to the source code of this file.
Functions | |
bool | is_read_within_bounds (const Stream &mem, unsigned int count) |
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 count) |
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?)" |
Definition at line 15 of file Stream.cpp.
References count, Stream::pos, and Stream::size.
Referenced by mem_read().
unsigned int mem_read | ( | Stream & | mem, |
unsigned char & | i | ||
) |
Definition at line 75 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 | count | ||
) |
Definition at line 86 of file Stream.cpp.
References count, 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 53 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 42 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 64 of file Stream.cpp.
References is_read_within_bounds(), Stream::mem, msg_error_read, Stream::pos, and Stream::set_failed().
|
static |
Definition at line 13 of file Stream.cpp.
Referenced by mem_read().
|
static |
Definition at line 12 of file Stream.cpp.
Referenced by mem_read(), and Stream::seek().