| 170 | } |
| 171 | |
| 172 | void DataView::setInt32(uint32_t offset, int32_t value) { |
| 173 | offset += _byteOffset; |
| 174 | CC_ASSERT(offset < _byteEndPos - 3); |
| 175 | |
| 176 | *reinterpret_cast<int32_t *>(_data + offset) = value; |
| 177 | } |
| 178 | |
| 179 | void DataView::setFloat32(uint32_t offset, float value) { |
| 180 | offset += _byteOffset; |
no outgoing calls
no test coverage detected