A key-value store for immutable byte blocks.
Implementations may be synchronous or asynchronous and may drop entries at any time (e.g. on eviction); a missing entry is simply re-read. Values handed to ByteCache.set and returned by ByteCache.get are treated as read-only by fgb-vt.
Remove the entry under key, if any.
key
Return the bytes stored under key, or undefined if absent.
undefined
Store value under key.
value
A key-value store for immutable byte blocks.
Implementations may be synchronous or asynchronous and may drop entries at any time (e.g. on eviction); a missing entry is simply re-read. Values handed to ByteCache.set and returned by ByteCache.get are treated as read-only by fgb-vt.