MCPcopy
hub / github.com/bilibili/flv.js / readUEG

Method readUEG

src/demux/exp-golomb.js:100–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 readUEG() { // unsigned exponential golomb
101 let leading_zeros = this._skipLeadingZero();
102 return this.readBits(leading_zeros + 1) - 1;
103 }
104
105 readSEG() { // signed exponential golomb
106 let value = this.readUEG();

Callers 2

readSEGMethod · 0.95
parseSPSMethod · 0.95

Calls 2

_skipLeadingZeroMethod · 0.95
readBitsMethod · 0.95

Tested by

no test coverage detected