github.com/HyperService-Consortium/go-hexutil
Package hexutil implements hex encoding with 0x prefix. This encoding is used by the Ethereum RPC API to transport binary data in JSON payloads. All hex data must have prefix "0x". For byte slices, the hex data must be of even length. An empty byte slice encodes as "0x". Integers are encoded using the least amount of digits (no leading zero digits). Their encoding may be of uneven length. The number zero encodes as "0x0".
Readme
common.hexutil from go-Ethereum
FAQs
Package hexutil implements hex encoding with 0x prefix. This encoding is used by the Ethereum RPC API to transport binary data in JSON payloads. All hex data must have prefix "0x". For byte slices, the hex data must be of even length. An empty byte slice encodes as "0x". Integers are encoded using the least amount of digits (no leading zero digits). Their encoding may be of uneven length. The number zero encodes as "0x0".
We found that github.com/HyperService-Consortium/go-hexutil demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.