MCPcopy Create free account
hub / github.com/Tencent/libpag / readUint16

Method readUint16

exporter/src/utils/ByteArray.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73uint16_t ByteArray::readUint16() {
74 if (!checkEndOfFile(2)) {
75 auto value = dataView.getUint16(_position);
76 positionChanged(2);
77 return value;
78 }
79 return 0;
80}
81
82int32_t ByteArray::readInt32() {
83 if (!checkEndOfFile(4)) {

Callers 2

ReadCompositionsFunction · 0.45
ReadLayersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected