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

Method raw

packages/sql/pg/src/PgProtocol.ts:637–642  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

635 }
636
637 raw(size: number): Uint8Array {
638 this.require(size)
639 const value = view(this.store, this.base + this.offset, size)
640 this.offset += size
641 return value
642 }
643
644 rest(): Uint8Array {
645 return this.raw(this.limit - this.offset)

Callers 1

restMethod · 0.95

Calls 2

requireMethod · 0.95
viewFunction · 0.70

Tested by

no test coverage detected