Application Programming Interface for ArrayAllocators.ByteCalculators

ArrayAllocators.ByteCalculatorsModule
ArrayAllocators.ByteCalculators

Defines calculators for computing the number of bytes needed to allocate an array while detecting integer overflow.

Examples

using ArrayAllocators.ByteCalculators

bc = CheckedMulByteCalculator{UInt8}(1024, 2048)
elsize(bc)
nbytes(bc)
source

Default Byte Calculator

Alternative Byte Calculators

Abstract Type