Add slice functionality to SlicedByteArray with tests and edge case validation

Implemented a `slice` method in `SlicedByteArray` to allow creating sub-arrays with specified offset and length. Added validations to handle invalid inputs and bounds. Introduced `SliceTest` to cover standard, edge cases, and error scenarios. Bumped version to 0.3.2.
This commit is contained in:
2025-06-15 16:10:52 +02:00
parent dd758b7af5
commit e1002a5e0b
3 changed files with 102 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ plugins {
}
group = "nl.astraeus"
version = "0.3.0"
version = "0.3.2"
repositories {
mavenCentral()