Fitting buffered data in byte[] | SoloLearn: Learn to code for FREE!

+4

Fitting buffered data in byte[]

Ok, so I have a circular buffer with sound data in it & I wanna check if this is empty or not. Built-in buffer class doesn't have a method for this, nor a method to Console.Write() its data on screen. Used tools: NAudio.dll Lang. c# P.S. Why circular buffer? It is reusable & takes no more place than I tell it to. Quite useful thing btw.

10/20/2017 8:12:04 PM

Illusive Man

1 Answer

New Answer

+4

solved through usage of IsEmpty. Used custom code: Circular buffer class + interface for it.