pub const MAX_PAYLOAD: usize = _ /* 1_073_741_815usize */;Expand description
The largest payload a block may hold.
A byte block records its size in the same word as its kind, with two bits taken by the kind, so 30 bits are left: 1 GiB − 8 bytes in total. Anything larger is answered with a null pointer, which is the C API’s “allocation failed” answer.