-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reason for this change is to enable an easy way to produce mock VLP-16 serialized data in tests, using a single call to binary.Write. However, this change also ensures that the Packet struct models byte-for-byte an on-the-wire VLP-16 packet, which simplifies parsing to a single binary.Read call.
- Loading branch information
Showing
2 changed files
with
55 additions
and
76 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