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

Method ensureWithinUIntRange

buffer/buffer.go:1102–1108  ·  view source on GitHub ↗

ensureWithinUIntRange checks to make sure that value is within the unsigned integer range defined by the byteLength. Note that byteLength can be at most 6 bytes, so a 48 bit unsigned 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

writeUIntBEMethod · 0.95
writeUIntLEMethod · 0.95

Calls 1

Tested by

no test coverage detected