MCPcopy Create free account
hub / github.com/Effect-TS/effect / skip

Method skip

packages/effect/src/internal/inflate.ts:83–85  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

81 }
82
83 skip(n: number): void {
84 while (n > 0) n -= this.takeSome(n).length
85 }
86
87 // Puts back the tail of the chunk that the last `takeSome` returned whole
88 unread(bytes: Uint8Array): void {

Callers 6

BigDecimal.test.tsFile · 0.45
descriptorMethod · 0.45
index.tst.tsFile · 0.45
index.test.tsFile · 0.45
timeout.test.tsFile · 0.45

Calls 1

takeSomeMethod · 0.95

Tested by

no test coverage detected