diff --git a/source/coral/io.cpp b/source/coral/io.cpp index 1de6ca0..bb8d32f 100755 --- a/source/coral/io.cpp +++ b/source/coral/io.cpp @@ -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; }