Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

borsh: Use to_writer API to serialize #4228

Merged
merged 4 commits into from
May 9, 2023

Conversation

joncinque
Copy link
Contributor

Problem

The borsh::to_writer API has been available in borsh for some time, and it gives clearer semantics for slices.

Solution

Use that API in all programs

@joncinque joncinque added this pull request to the merge queue May 9, 2023
Merged via the queue into solana-labs:master with commit 074c53d May 9, 2023
@joncinque joncinque deleted the bwriter branch May 9, 2023 17:26
HaoranYi pushed a commit to HaoranYi/solana-program-library that referenced this pull request Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant