From f6daa3c85a73af6f34cf3643daae9e3e61be0ea1 Mon Sep 17 00:00:00 2001 From: kayomn Date: Tue, 28 Feb 2023 15:56:32 +0000 Subject: [PATCH] Document coral::fixed_buffer::remaining --- source/coral/io.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; }