| 121 | } |
| 122 | |
| 123 | int32_t DataView::getInt32(uint32_t offset) const { |
| 124 | offset += _byteOffset; |
| 125 | CC_ASSERT(offset < (_byteEndPos - 3)); |
| 126 | |
| 127 | return *reinterpret_cast<int32_t *>(_data + offset); |
| 128 | } |
| 129 | |
| 130 | float DataView::getFloat32(uint32_t offset) const { |
| 131 | offset += _byteOffset; |
no outgoing calls
no test coverage detected