pushChunkTypedSync method

int pushChunkTypedSync(
  1. TypedData data, {
  2. double? timestamp,
  3. Float64List? timestamps,
  4. bool? pushthrough,
})

Synchronously pushes a chunk from a flat TypedData buffer.

Direct mode only - throws LSLException if useIsolates: true. See pushChunkTyped.

Implementation

int pushChunkTypedSync(
  TypedData data, {
  double? timestamp,
  Float64List? timestamps,
  bool? pushthrough,
}) => requireDirect(
  () => _pushChunkTypedDirect(data, timestamp, timestamps, pushthrough),
);