Searched refs:write_length (Results 1 – 3 of 3) sorted by relevance
124 bool Buffer::write(const uint8_t* src, size_t write_length) { in write() argument125 if (available_write() < write_length) return false; in write()126 memcpy(buffer_.get() + write_position_, src, write_length); in write()127 write_position_ += write_length; in write()
145 write_length = min(data_length, ex.num_blocks * block_size)147 file_obj.write(data[data_offset:(data_offset + write_length)])149 data_offset += write_length150 data_length -= write_length
242 bool write(const uint8_t* src, size_t write_length);