forked from lithdew/solana-zig
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
instruction: Add no-alloc helper for instruction data (#4)
* instruction: Add no-alloc helper for instruction data #### Problem Constructing instruction data requires using a serialization library such as bincode or borsh, but it's much simpler to create an instance of the instruction and just reinterpret those bytes (assuming the type is a properly packed struct). #### Summary of changes Add a helper for creating a type used for instruction data. * Bump patch version
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters