Docs.rs
emerald-vault-0.33.0
emerald-vault 0.33.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
splix
github:emeraldpay:admin
Dependencies
aes ^0.8.2
normal
argon2 ^0.4.1
normal
base64 ^0.13.0
normal
bitcoin ^0.29
normal
bitcoin_hashes ^0.11
normal
block-modes ^0.9.1
normal
byte-array-struct ^0.2.0
normal
byteorder ^1.4.3
normal
chrono ^0.4.13
normal
clippy ^0.0
normal
csv ^1.1.6
normal
ctr ^0.9.2
normal
emerald-hwkey ^0.5
normal
enum-display-derive ^0.1.1
normal
ethabi ^18.0.0
normal
ethers-core ^1.0.2
normal
ethers-derive-eip712 ^1.0.2
normal
fs_extra ^1.2.0
normal
futures ^0.3.19
normal
getrandom ^0.2.4
normal
glob ^0.3.0
normal
hdpath ^0.6
normal
hex ^0.4.3
normal
hmac ^0.12.0
normal
hyper ^0.12
normal
image ^0.24.6
normal
itertools ^0.10
normal
lazy_static ^1.0
normal
log ^0.4.14
normal
num ^0.4.0
normal
num-bigint ^0.4
normal
pbkdf2 ^0.11.0
normal
protobuf =2.25.2
normal
rand ^0.8.5
normal
regex ^1.5.4
normal
rlp ^0.5.1
normal
scrypt ^0.10.0
normal
secp256k1 ~0.24
normal
serde ^1.0
normal
serde_derive ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10.1
normal
sha3 ^0.10.0
normal
time ^0.3.5
normal
uuid ^1.2.2
normal
zip ^0.6
normal
bencher ^0.1.5
dev
itertools ^0.10
dev
quickcheck ^0.9.2
dev
simple_logger ^4.0.0
dev
tempdir ^0.3.7
dev
Versions
41.95%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In emerald_vault::util
?
Function
emerald_vault
::
util
::
to_bytes
source
·
[
−
]
pub fn to_bytes(x:
u64
, len:
u8
) ->
Vec
<
u8
>
ⓘ
Expand description
Converts
unsigned
value to byte array
Arguments
x
- a value to be converted into byte vector
len
- size of value