MCPcopy Create free account
hub / github.com/dop251/goja_nodejs / ensureWithinIntRange

Method ensureWithinIntRange

buffer/buffer.go:1076–1085  ·  view source on GitHub ↗

ensureWithinIntRange checks to make sure that value is within the integer range defined by the byteLength. Note that byteLength can be at most 6 bytes, so a 48 bit integer is the largest possible value.

(byteLength, value int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

writeIntBEMethod · 0.95
writeIntLEMethod · 0.95

Calls 1

Tested by

no test coverage detected