dataToBufferPointer method

Pointer<NativeType> dataToBufferPointer(
  1. Iterable data
)

Implementation

Pointer<NativeType> dataToBufferPointer(Iterable<dynamic> data) {
  _validateSampleData(data);
  // Set the sample data in the buffer
  _pushFn.listToBuffer(IList(data), _buffer);
  return _buffer;
}