Document coral::fixed_buffer::remaining

This commit is contained in:
kayomn 2023-02-28 15:56:32 +00:00
parent d8aadef0e7
commit f6daa3c85a

View File

@ -85,6 +85,9 @@ export namespace coral {
return readable_data.length;
}
/**
* Returns the remaining unfilled buffer space in bytes.
*/
usize remaining() const {
return capacity - this->data_filled;
}