bufferLength property
int
get
bufferLength
Total number of samples the data buffer can hold, derived from its byte length and sampleSize.
Implementation
int get bufferLength => data.lengthInBytes ~/ (sampleSize ~/ 8);