MCPcopy Create free account
hub / github.com/cocos/cocos-engine / getInt8

Method getInt8

native/cocos/core/DataView.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109int8_t DataView::getInt8(uint32_t offset) const {
110 offset += _byteOffset;
111 CC_ASSERT_LT(offset, _byteEndPos);
112
113 return static_cast<int8_t>(_data[offset]);
114}
115
116int16_t DataView::getInt16(uint32_t offset) const {
117 offset += _byteOffset;

Callers 4

getReaderFunction · 0.80
readInt8Method · 0.80
parseMethod · 0.80
getReaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected