forked from mdlayher/netlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Bytes func to AttributeDecoder
For symmetry with AttributeEncoder, adds a Bytes function to AttriuteDecoder that copies the bytes to a new slice to avoid retaining the original. Bug: mdlayher#103
- Loading branch information
1 parent
1aa84f5
commit 87f1a73
Showing
2 changed files
with
34 additions
and
0 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