clearBuffer method
Zeroes sizeInBytes bytes (to the end by default) of buffer from
offsetInBytes. DeviceFeature.bufferCopy.
Implementation
@override
void clearBuffer(
StorageBuffer buffer, {
int offsetInBytes = 0,
int? sizeInBytes,
}) => _gated(DeviceFeature.bufferCopy, 'clearBuffer', (
buffer: buffer,
offsetInBytes: offsetInBytes,
sizeInBytes: sizeInBytes,
));