Docs.rs
ethereum-hexutil-0.2.3
ethereum-hexutil 0.2.3
Permalink
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
sorpaas
github:multi-geth:crates
Dependencies
Versions
44.44%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
hexutil
0.2.3
All Items
Crate Items
Enums
Functions
Crate
hexutil
Copy item path
Source
Enums
§
Parse
HexError
Errors exhibited from
read_hex
.
Functions
§
clean_
0x
Return
s
without the
0x
at the beginning of it, if any.
read_
hex
Parses a given hex string and return a list of bytes if succeeded. The string can optionally start by
0x
, which indicates that it is a hex representation.
to_hex
Given a bytearray, get a Ethereum-compatible string hex.