Home | History | Annotate | Download | only in flip_server

Lines Matching full:bytes

53 // Appends up-to-'size' bytes to the ringbuffer.
54 int RingBuffer::Write(const char* bytes, int size) {
67 memcpy(wptr, bytes + bytes_written, wsize);
75 const char* p = bytes;
82 const char* end = bytes + bytes_to_write;
131 // returns the number of bytes read into
132 int RingBuffer::Read(char* bytes, int size) {
145 memcpy(bytes + bytes_read, rptr, rsize);
153 char* p = bytes;
159 char* end = bytes + bytes_to_read;