Commit Graph

21 Commits

Author SHA1 Message Date
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
69fa23a7a9 Fix MutableByteArrayHandler placement and update readme info
Relocated MutableByteArrayHandler implementation to correct position in ByteArrayHandler file for better organization. Updated readme to clarify behavior when updating variable-length types like strings for improved compression efficiency.
2024-12-13 22:00:00 +01:00
c64df75cd5 Add initial README for typed-byte-arrays library
Provide an overview of the library's purpose, usage, and functionality. This includes a Kotlin example of defining and using `TypedByteArray` and explanation of data types and properties. The README aims to help developers understand and adopt the library effectively.
2024-12-13 21:53:37 +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
ae4e3c60ae Fix unit test assertions in TypedByteArrayWithByteArrayTest
Correct the expected values in assertions to match the updated data structure. This ensures the test accurately reflects the intended behavior of the `Data` object, maintaining consistency with any recent changes in the data format or handling.
2024-12-07 16:01:36 +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
1827704109 Blob length fix 2024-09-15 15:14:41 +02:00
da52a66de1 Cleanup old bytes after update 2024-09-14 11:50:04 +02:00
19f6aa9b15 Fix off-by-one error 2024-09-13 20:13:37 +02:00
35f9be0504 Set correct length on blob, fix off by one error 2024-09-06 16:43:09 +02:00
85c3dd8292 Slices and string cache 2024-09-06 10:25:15 +02:00
6567da1683 Add size of length to buffer, cleanup 2024-09-02 11:19:37 +02:00
09d88dbb3f Add ByteArray constructor 2024-09-01 21:14:41 +02:00
9d6944400c Publish package to gitea 2024-09-01 19:11:15 +02:00
38964c1499 Remove gradle.properties 2024-09-01 14:59:56 +02:00
7f7471bf86 Add all the types, some cleanup 2024-09-01 14:54:55 +02:00
657331dd31 Initial commit 2024-09-01 10:25:04 +02:00