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

Method readBoolean

web/lite/src/codec/utils/byte-array.ts:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 public readBoolean(): boolean {
41 const value = this.dataView.getInt8(this._position);
42 this._position += 1;
43 this.positonChanged();
44 return Boolean(value);
45 }
46
47 public readChar(): string {
48 if (this._position >= this.length) throw new Error(ErrorMessage.PAGDecodeError);

Callers 2

readValueMethod · 0.45
readVideoCompositionFunction · 0.45

Calls 1

positonChangedMethod · 0.95

Tested by

no test coverage detected