Commit Graph

4 Commits

Author SHA1 Message Date
b55375fd89 fix buffer reset
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2026-02-03 09:26:40 +03:00
pugnack
3deb572f72 [v4] fix out-of-bounds behavior in seeker buffer and add tests (#219)
* add check negative position to Read() and write tests

* add tests for Write() method

* add tests for Write() method

* add checks of whence and negative position to Seek() and write tests

* add tests for Rewind()

* add tests for Close()

* add tests for Reset()

* add tests for Len()

* add tests for Bytes()

* tests polishing

* tests polishing

* tests polishing

* tests polishing
2025-06-15 17:24:48 +03:00
8b406cf963 util/buffer: add Reset() method
closes #402

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2025-05-12 19:18:45 +03:00
d3c31da9db util/buffer: rework
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2025-02-06 13:46:06 +03:00