Home | History | Annotate | Download | only in flip_server

Lines Matching refs:bytes

13   //   Returns the bytes which can be read from the buffer.  There is no
14 // guarantee that the bytes are contiguous.
24 // returns the number of bytes free in this buffer.
26 // number of bytes free.
42 // appends up-to-'size' bytes to the buffer.
44 // bytes - bytes which are read, and copied into the buffer.
45 // size - number of bytes which are read and copied.
47 virtual int Write(const char* bytes, int size) = 0;
57 // size - the amount of data (in bytes) that it is safe to write to ptr.
68 // size - the amount of data (in bytes) that it is safe to read
72 // Reads bytes out of the buffer, and writes them into 'bytes'.
73 // Returns the number of bytes read.
74 // Consumes bytes from the buffer (possibly, but not necessarily
77 // bytes - the pointer into which bytes are read from this buffer
79 // size - number of bytes which are read and copied.
82 // the number of bytes read from 'bytes'
83 virtual int Read(char* bytes, int size) = 0;
90 // reserves contiguous writable empty space in the buffer of size bytes.