get

fun get(hash: BobbinHash): ByteArray?

Returns a copy of the bytes stored under hash, or null if this creel does not yet hold that bobbin.

A null return is the legitimate "bobbin not loaded yet" state — routine on the lazy-fetch path. It is not an error; the caller should request the bytes from a neighbour — BobbinExchange.fetch does exactly that, calling putVerified on the bytes it receives.

The returned array is a defensive copy; callers may mutate it freely without affecting stored content.