In-memory byte source.
The binary is the whole input. pread/3 slices it. Closing drops the
reference held by this struct so the caller can release a large binary
before the process ends.
Summary
Functions
Wraps binary.
Types
@type t() :: %BAM.Source.Memory{ closed: boolean(), data: binary(), size: non_neg_integer() }