[−][src]Function web30::types::data_serialize
pub fn data_serialize<S>(x: &[u8], s: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serializes slice of data as "UNFORMATTED DATA" format required by Ethereum JSONRPC API.
See more https://github.com/ethereum/wiki/wiki/JSON-RPC#hex-value-encoding