-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Would you be willing to accept a pullreq for adding functionality to allow either a signed or an unsigned number to be "packed"? There are cases where one would want to pack a number and its sign doesn't matter. For example, if you want to pack the bits 0b11 into 2 bits of a byte and you don't care if the number is treated as "3" or as "-1", there is currently no way to use this package to do so (that I can figure out at least)
Metadata
Metadata
Assignees
Labels
No labels