readCountOr method

List<E> readCountOr(
  1. MemoryPointer<RType>? p,
  2. int count, [
  3. List<E>? fallback
])

Implementation

List<E> readCountOr(MemoryPointer? p, int count, [List<E>? fallback]) {
  if (p == null) return fallback ?? [];
  return readCount(p, count, fallback);
}