mirror of https://bitbucket.org/ausocean/av.git
Fixed some weird replace all mistake
This commit is contained in:
parent
ee0d8b4b1d
commit
41355c2034
|
@ -118,7 +118,7 @@ func (rb *RingBuffer) DoneWriting(size int) error {
|
|||
Read gets the address of the next element that we would like to get data
|
||||
from and thereafter consider empty in the buffer for writing during latter
|
||||
calls to Get. The address of the data is returned, as well as the size of
|
||||
the data contained at rb address. An error is returned if the buffer is
|
||||
the data contained at this address. An error is returned if the buffer is
|
||||
empty, or there has been a second call to Read before a call to DoneReading.
|
||||
*/
|
||||
func (rb *RingBuffer) Read() ([]byte, int, error) {
|
||||
|
@ -136,7 +136,7 @@ func (rb *RingBuffer) Read() ([]byte, int, error) {
|
|||
|
||||
/*
|
||||
DoneReading informs the buffer that we have finished with the address
|
||||
provided by Read. The buffer can now consider rb address to be empty.
|
||||
provided by Read. The buffer can now consider this address to be empty.
|
||||
An error is returned if there was no initial call to Read.
|
||||
*/
|
||||
func (rb *RingBuffer) DoneReading() error {
|
||||
|
|
Loading…
Reference in New Issue