24 Commits

Author SHA1 Message Date
2d63de35c0 Add updateTypes to TypedByteArray and bump version to 0.3.6
Introduced an `updateTypes` method to dynamically update type definitions in `TypedByteArray`. Made `definition` private and initialized type/index maps in `createTypeAndIndexMap`. Updated project version for release.
2025-06-22 19:56:22 +02:00
9f152ca8da Fix size calculation to handle negative values and release version 0.3.4 2025-06-22 16:23:53 +02:00
1c23178839 Bump version to 0.3.4-SNAPSHOT for ongoing development. 2025-06-16 19:46:16 +02:00
ab6694ca6a Fix slice bounds check in SlicedByteArray and release version 0.3.3. 2025-06-16 19:46:04 +02:00
ad1fdf366b Bump version to 0.3.3-SNAPSHOT for ongoing development 2025-06-15 16:12:53 +02:00
e1002a5e0b 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.
2025-06-15 16:10:52 +02:00
dd758b7af5 v. 0.3.0 2025-05-31 14:51:34 +02:00
353c2c4f33 Add little-endian support for numeric types
Introduced `Little-Endian` functionality for `Short`, `Int`, `Long`, `Float`, and `Double` across `SlicedByteArray`, `MutableByteArrayHandler`, and `TypedByteArray`. Enhanced property delegates to handle little-endian byte order with the `littleEndian` parameter. Added `LittleEndianTest` to validate functionality. Bumped version to 0.3.0-SNAPSHOT.
2025-05-31 14:08:28 +02:00
4e7fa72a5e Bump version to 0.2.12-SNAPSHOT.
Updated the project version to 0.2.12-SNAPSHOT in build.gradle.kts. This prepares the codebase for ongoing development after the 0.2.11 release.
2025-05-03 11:12:08 +02:00
5f53b98062 Version 0.2.11 - update publish plugin 2025-05-03 11:10:00 +02:00
d671fbd64b Update Kotlin version, refine .gitignore, and optimize tests
Upgraded Kotlin Multiplatform plugin to version 2.1.20 for better compatibility and feature enhancements. Adjusted .gitignore to include `.idea/**` for broader IntelliJ configuration exclusion. Increased test iteration count in `TestCachedString` to improve benchmarking precision.
2025-04-09 20:45:39 +02:00
e54a3c4338 Upgrade Kotlin and project version.
Updated Kotlin Multiplatform plugin to version 2.1.0 for compatibility and enhancements. Bumped project version to 0.2.10 to reflect this change.
2024-12-20 16:22:20 +01:00
97e7d91e9c Fix incorrect size computation in SlicedByteArray.
Corrected the `size` property to return the full `length` instead of subtracting the offset. Updated the project version to 0.2.9 to reflect this fix.
2024-12-17 20:45:00 +01:00
9be32b6a53 Fix size calculation and update build configuration
Corrected the `size` property in `SlicedByteArray` to account for offset. Bumped the version to 0.2.7 and added a custom Maven repository to the build script. Adjusted the `settings.gradle.kts` file to clean up formatting.
2024-12-17 20:40:07 +01:00
232d8fe92a Add constructor to SlicedByteArray and update version to 0.2.6
Introduce a new constructor in `SlicedByteArray` for initializing from a ByteArray. Updated `build.gradle.kts` to bump the version to 0.2.6, and made minor adjustments to `readme.md` to improve clarity and consistency.
2024-12-14 11:19:22 +01:00
cff48ef18c v. 0.2.5 2024-12-11 12:55:23 +01:00
c3414c9364 Build with 2.0.21, v. 0.2.4 2024-12-11 12:53:59 +01:00
7ab9385f20 Add release from server option 2024-12-07 16:24:46 +01:00
db3aa2fbf6 Release version 0.2.1, bump version to 0.2.2-SNAPSHOT
Update the project version to 0.2.2-SNAPSHOT in build.gradle.kts to prepare for the next iteration of development. This is a minor version increment indicating ongoing work and new features in progress.
2024-12-01 16:08:47 +01:00
ea461409fb Remove ByteArrayPropertyWithLength and update handling
Removed the ByteArrayPropertyWithLength class and refactored related methods to simplify the handling of string and blob properties without maxLength constraints. This change improves code maintainability by eliminating redundant checks and ensures that property operations are more straightforward and error-free. Additionally, updated the Kotlin version and optimized the build configuration for better dependency management.
2024-12-01 13:55:06 +01:00
e60b6472ba Remove ByteArrayPropertyWithLength and update handling
Removed the ByteArrayPropertyWithLength class and refactored related methods to simplify the handling of string and blob properties without maxLength constraints. This change improves code maintainability by eliminating redundant checks and ensures that property operations are more straightforward and error-free. Additionally, updated the Kotlin version and optimized the build configuration for better dependency management.
2024-11-30 12:03:16 +01:00
85c3dd8292 Slices and string cache 2024-09-06 10:25:15 +02:00
9d6944400c Publish package to gitea 2024-09-01 19:11:15 +02:00
657331dd31 Initial commit 2024-09-01 10:25:04 +02:00