MCPcopy Create free account
hub / github.com/Vanilagy/webcodecs-polyfill / skipBits

Method skipBits

src/misc.ts:472–474  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

470 }
471
472 skipBits(n: number) {
473 this.pos += n;
474 }
475
476 getBitsLeft() {
477 return this.bytes.length * 8 - this.pos;

Callers 7

parseAvcSpsFunction · 0.95
aacToAdtsFunction · 0.95
parseProfileTierLevelFunction · 0.80
codec_data.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected