Skip to content

Conversation

@sakari-malkki
Copy link
Collaborator

No description provided.

jsaarimaa and others added 19 commits February 6, 2026 08:44
- Introduced abstract BinaryDataReader base class and static factory
- Added Create method for codec-based instantiation
- Moved submap index logic to IMatrixMap.GetIndicesOfSubmap extension
- Updated BinaryDataReader to use new index mapping and relative seeking
- Added unit tests for submap index mapping
- Refactored test streams and improved test assertions
Add streamDataStartLinearIndex to BinaryDataReader to support reading from streams already positioned at any data index, not just at the header start. Update offset logic and add validation for negative indices. Expand tests to cover seekable and non-seekable streams at various positions, and add a helper for test stream setup.
Renamed the streamDataStartLinearIndex parameter to streamDataPositionIndex across BinaryDataReader and related tests for clarity and consistency. Added a ByteCount abstract property to BinaryDataReaderStatic and implemented it in BinaryDataReader to expose the encoded value size. Introduced a new ReadFromStreamAsync overload with the updated parameter.
- Add XML docs and clarify method signatures in BinaryDataReader
- Add argument validation for stream position and target index
- Add unit test for out-of-range stream read scenario
- Update README with binary reader usage and codec info
- Revert project version to 1.3.1 in csproj
Added unit tests for BinaryDataReader.Create covering type creation and error handling. Improved comments and XML docs for clarity in stream logic and delegate return types.
… data read benchmarks for comparison, union and intersection matrix map methods
@sakari-malkki sakari-malkki deleted the bugfix/validation-fixes branch February 6, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants