Returns the maximum allocation size supported by this allocator.
Returns newly allocated memory for a certain number of struct values.
Returns newly allocated memory for a certain number of struct values.
Allocates sizeOf[T] * count
bytes of data. Implementations may
return a Data
class optimized for the given struct.
the struct instance type.
the number of struct values to allocate.
the implicit struct.
the allocated, zero-filled data.
Returns a certain number of bytes of newly allocated memory.
Copies a byte sequence from one Data
object to another.
Copies a byte sequence from one Data
object to another.
the source data.
the source address.
the destination data.
the destination address.
the number of bytes to copy.
An allocator for native-endian data backed by a primitive array.