Public Member Functions | |
BinaryBlob (const T &data) | |
BinaryBlob (const void *ptr, size_t len) | |
BinaryBlob & | Reset () |
Resets the offset pointer to zero. | |
BinaryBlob & | Seek (ssize_t delta) |
Seeks the offset pointer relative to the current position. | |
template<typename U > | |
bool | TryFind (const U &item) |
Tries to find the item within the data, starting at the offset pointer. More... | |
template<typename U > | |
BinaryBlob & | Find (const U &item) |
Finds the item within the data, starting at the offset pointer. | |
template<typename U > | |
U | Read () |
Read from the offset. | |
template<typename U > | |
BinaryBlob & | Write (const U &val) |
Read from the offset. | |
T * | get () |
Definition at line 15 of file binary_blob.h.
|
inline |
Tries to find the item within the data, starting at the offset pointer.
item | The item to find. |
Definition at line 49 of file binary_blob.h.