Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b9459fe
Implement FastBinaryWriter
pro100andrey Dec 15, 2025
f3f539d
Enhance BinaryWriter performance tests and refactor for consistency
pro100andrey Dec 22, 2025
309f054
wip
pro100andrey Dec 22, 2025
cdd1586
cleanup
pro100andrey Dec 22, 2025
8a08880
Enhance documentation for BinaryReader and BinaryWriter with detailed…
pro100andrey Dec 25, 2025
e597bf5
Refactor VarInt methods to clarify unsigned and signed usage in Binar…
pro100andrey Dec 25, 2025
cce071f
feat: Introduce VarBytes and VarString methods in BinaryWriter and Bi…
pro100andrey Dec 25, 2025
8df2550
refactor: Rename test descriptions for clarity in BinaryReader and Bi…
pro100andrey Dec 25, 2025
c24c16a
refactor: Update internal state variable names in BinaryReader and Bi…
pro100andrey Dec 25, 2025
e9fe2ae
feat: Add read and write methods for boolean values in BinaryReader a…
pro100andrey Dec 26, 2025
f64068f
feat: Add tests for BinaryReader and BinaryWriter to validate error h…
pro100andrey Dec 26, 2025
f1ca0f4
feat: Add tests for BinaryReader to validate error handling for VarUi…
pro100andrey Dec 26, 2025
a89c050
feat: Enhance BinaryWriter with offset and length validation in write…
pro100andrey Dec 26, 2025
859c71f
feat: Optimize VarInt and VarUint encoding in BinaryWriter and add co…
pro100andrey Dec 29, 2025
1964bbf
feat: Improve error handling in BinaryReader and BinaryWriter, update…
pro100andrey Dec 30, 2025
2fd88ba
feat: Add BinaryWriterPool with statistics and tests for pool behavio…
pro100andrey Dec 30, 2025
6478a06
fix: Update documentation for BinaryWriterPool to correct reference f…
pro100andrey Dec 30, 2025
6ce0e65
Refactor code structure for improved readability and maintainability
pro100andrey Dec 30, 2025
e076b44
Add benchmarks for binary reader operations
pro100andrey Dec 30, 2025
9026074
Add performance benchmarks for binary writing operations
pro100andrey Jan 2, 2026
0708983
wip
pro100andrey Jan 2, 2026
e6f462f
Refactor benchmarks to remove initial buffer size and increase test i…
pro100andrey Jan 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
run: dart analyze --fatal-infos

- name: Run tests
run: dart test
run: dart test -x benchmark

- name: Run tests with coverage
if: matrix.os == 'ubuntu-latest' && matrix.sdk == 'stable'
run: |
dart pub global activate coverage
dart pub global run coverage:test_with_coverage
dart pub global run coverage:test_with_coverage -- -x benchmark

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.sdk == 'stable'
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 3.0.0

**Improvements:**

- **docs**: Comprehensive documentation overhaul
- Added detailed API documentation with usage examples for all methods
- Documented `writeVarString()`, `readVarString()`, and `getUtf8Length()`
- Included performance notes and best practices
- Added inline comments explaining complex encoding algorithms
- Improved README with real-world examples and migration guide
- **test**: Added 23 new comprehensive tests
- 7 tests for `writeVarString()` (ASCII, UTF-8, emoji, empty, mixed, round-trip, malformed)
- 8 tests for `getUtf8Length()` (ASCII, empty, 2-byte, 3-byte, 4-byte, mixed, validation, surrogates)
- 8 tests for `readVarString()` (basic, UTF-8, emoji, empty, multiple, error handling)

## 2.2.0

**test**: Added integration tests for new error handling features
Expand Down
Loading