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

Method bytesAvailable

exporter/src/utils/ByteArray.h:40–42  ·  view source on GitHub ↗

* The number of bytes of data available for reading from the current position in the byte array to the end of * the array. */

Source from the content-addressed store, hash-verified

38 * the array.
39 */
40 size_t bytesAvailable() const {
41 return dataView.size() - _position;
42 }
43
44 bool empty() const {
45 return dataView.isEmpty();

Callers 6

ReadBodyFunction · 0.45
ReadFirstTagByNamesFunction · 0.45
ReadCompositionsFunction · 0.45
ReadLayersFunction · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected