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

Method readFloat

src/codec/utils/DecodeStream.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116float DecodeStream::readFloat() {
117 if (!checkEndOfFile(4)) {
118 auto value = dataView.getFloat(_position);
119 positionChanged(4);
120 return value;
121 }
122 return 0;
123}
124
125double DecodeStream::readDouble() {
126 if (!checkEndOfFile(8)) {

Callers 9

readValueMethod · 0.45
ReadFloatFunction · 0.45
ReadPointFunction · 0.45
ReadPoint3DFunction · 0.45
ReadVideoSequenceFunction · 0.45
ReadImageBytesV2Function · 0.45
ReadBitmapSequenceFunction · 0.45
ReadImageBytesV3Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected