byteLength method
Precompute the byte size of the static ABI typed value @return the byte size of the ABI value @throws IllegalArgumentException if the ABI type is dynamic typed
Implementation
@override
int byteLength() {
if (elemType is TypeBool) {
return (length + 7) ~/ 8;
}
return elemType.byteLength() * length;
}