byteSize

fun byteSize(elementCount: Long): Long(source)

Bytes needed for elementCount elements of this type.

Throws

if elementCount is negative or not a multiple of blockSize.