Document coral::fixed_buffer::remaining
This commit is contained in:
parent
d8aadef0e7
commit
f6daa3c85a
@ -85,6 +85,9 @@ export namespace coral {
|
|||||||
return readable_data.length;
|
return readable_data.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the remaining unfilled buffer space in bytes.
|
||||||
|
*/
|
||||||
usize remaining() const {
|
usize remaining() const {
|
||||||
return capacity - this->data_filled;
|
return capacity - this->data_filled;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user