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

Method byte

packages/effect/src/encoding/SchemaBinary.ts:1380–1383  ·  view source on GitHub ↗
(b: number)

Source from the content-addressed store, hash-verified

1378 }
1379 }
1380 byte(b: number) {
1381 this.ensure(1)
1382 this.buf[this.start + this.len++] = b
1383 }
1384 bytes(b: Uint8Array) {
1385 if (b.length >= DEFERRED_BYTES_MIN) {
1386 this.deferred.push({ bytes: b, length: b.length, at: this.len })

Callers 15

uvarintBigMethod · 0.95
encodeReasonFunction · 0.45
encodeStructPositionalFunction · 0.45
encodeStringFunction · 0.45
encodeNumberRunFunction · 0.45
encodeVariantFunction · 0.45
encodeUnionFunction · 0.45
encodeValueFunction · 0.45
writeFrameFunction · 0.45
skipFieldVarintFunction · 0.45
decodeNumberRunFunction · 0.45
decodeUnionFunction · 0.45

Calls 1

ensureMethod · 0.95

Tested by

no test coverage detected