Home | History | Annotate | Download | only in base

Lines Matching full:bytes

64   // Returns the number of bytes available to read from the current stream
69 // buf_len bytes will be copied into buf. (In other words, partial reads are
70 // allowed.) Returns the number of bytes copied, 0 if at end-of-file, or an
89 // Performs the same as Read, but ensures that exactly buf_len bytes
91 // end-of-file or fatal error. Returns the number of bytes copied into buf,
92 // 0 if at end-of-file and no bytes have been read into buf yet,
97 // buf_len bytes will be written from buf. (In other words, partial writes are
98 // allowed.) Returns the number of bytes written, or an error code if the
117 // Truncates the file to be |bytes| length. This is only valid for writable
118 // files. After truncation the file stream is positioned at |bytes|. The new
122 int64 Truncate(int64 bytes);