231 def write(self, value, sec=-1, nsec=-1):
369 def read(self, value, sec = -1, nsec = -1):
503 def write(self, value, sec=-1, nsec=-1):
528 value[0] = self.
get()
def rptr(self, n=0)
Get the buffer length.
def readable(self)
Write data into the buffer.
def advanceRptr(self, n=1)
Get the buffer length.
def read(self, value)
Read data from the buffer.
def __init__(self, size=None)
BufferBase abstract class.
def writable(self)
Write data into the buffer.
def put(self, data)
Write data into the buffer.
def read(self, value, sec=-1, nsec=-1)
Read data from the buffer.
def empty(self)
Check on whether the buffer is empty.
def isEmpty(self)
Always false.
def wptr(self, n=0)
Get the buffer length.
def getRef(self)
Get the buffer's reference to be written the next.
def write(self, value, sec=-1, nsec=-1)
Write data into the buffer.
def get(self)
Get data from the buffer.
def get(self)
Get data from the buffer.
def write(self, value, sec=-1, nsec=-1)
Write data into the buffer.
def advanceWptr(self, n=1)
Get the buffer length.
def length(self)
Get the buffer length.
def put(self, data)
Write data into the buffer.
def length(self)
Get the buffer length.
def isFull(self)
Always false.
def reset(self)
Get the buffer length.
def full(self)
Check on whether the buffer is full.