Skip to content

Conversation

@ERoydev
Copy link
Collaborator

@ERoydev ERoydev commented Aug 29, 2025

What

  1. Added specialized readFixedArray / writeFixedArray methods for different integer sizes in BinaryReader and BinaryWriter.

    • This allows to represent number arrays using Uint64List, Int64List, ... dart types instead of just int and BigInt
  2. Implemented recursiveBorsh serialization/deserialization macro's.

    • This makes the codegen flexible to handle multi-dimensional arrays, nested structs or enums with tuples or structs inside
  3. Updated the other templates to use the new macro logic.

Mapping

Since this is combination of @aleksandar-petrov-lime branch and my logic on top of it. To review my logic focus on these commits:

@ERoydev ERoydev requested a review from failfmi August 29, 2025 11:58
@ERoydev ERoydev force-pushed the emil.roydev/dart-renderer branch from bd0b750 to b1d94b0 Compare September 4, 2025 06:17
@ERoydev ERoydev requested a review from failfmi September 4, 2025 06:18
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.

4 participants