pub(crate) fn bytes_to_hex(&self, bytes: Vec<u8>) -> String {
        // Even an empty string must be prefixed with `0x`.
        // Encodes each byte as a two hex digits.
        format!("0x{}", ::hex::encode(bytes))
    }
/// Converts bytes to a hex string.
/// References:
/// https://godoc.org/github.com/ethereum/go-ethereum/common/hexutil#hdr-Encoding_Rules
/// https://github.com/ethereum/web3.js/blob/f98fe1462625a6c865125fecc9cb6b414f0a5e83/packages/web3-utils/src/utils.js#L283
Converts bytes to a hex string.
Converts bytes to a hex string .
pub(crate) fn bytes_to_hex(&self, bytes: Vec<u8>) -> String {
        // Even an empty string must be prefixed with `0x`.
        // Encodes each byte as a two hex digits.
        format!("0x{}", ::hex::encode(bytes))
    }
pub ( crate ) fn bytes_to_hex ( & self , bytes : Vec < u8 > ) -> String { // Even an empty string must be prefixed with `0x`. // Encodes each byte as a two hex digits. format ! ( " " hex encode ( bytes ) ) }
Converts bytes to a hex string.
Converts bytes to a hex string .
&self
bytes
Vec<u8>
&self
bytes
Vec<u8>