buffer: allow .write() offset to be at buffer end
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
buffer
Description of change
Do not throw if the offset passed to buf.write()
points to the end of the buffer.