readF32 function

Float32List readF32(
  1. int ptr,
  2. int count
)

Implementation

Float32List readF32(int ptr, int count) {
  assert((ptr & 3) == 0, 'readF32: pointer not 4-byte aligned'); // FIX: guard
  final view = HEAPF32.toDart;
  return Float32List.fromList(view.sublist(ptr >> 2, (ptr >> 2) + count));
}