MCPcopy Create free account
hub / github.com/Binject/debug / SliceRO

Method SliceRO

goobj2/internal/bio/buf.go:137–143  ·  view source on GitHub ↗

SliceRO returns a slice containing the next length bytes of r backed by a read-only mmap'd data. If the mmap cannot be established (limit exceeded, region too small, etc) a nil slice will be returned. If mmap succeeds, it will never be unmapped.

(length uint64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

sliceOSMethod · 0.95

Tested by

no test coverage detected