pub trait FromBytes {
    fn read_le<R>(reader: R) -> Result<Self, Error>
    where
        R: Read,
        Self: Sized
; fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error>
    where
        Self: Sized
, { ... } }

Required Methods

Reads Self from reader as little-endian bytes.

Provided Methods

Returns Self from a byte array in little-endian order.

Implementations on Foreign Types

Reads an account signature from a buffer.

Reads an account graph key from a buffer.

Reads an account private key from a buffer.

Reads an account compute key from a buffer.

Reads an account view key from a buffer.

Reads in an account address from a buffer.

Reads the boolean from a buffer.

Reads the field from a buffer.

Reads the group from a buffer.

Reads the scalar from a buffer.

Reads the integer from a buffer.

Reads the string from a buffer.

Reads data into a buffer.

Reads data into a buffer.

Reads the powers from the buffer.

Reads the powers from the buffer.

Reads in a Merkle path from a buffer.

Reads the locator from a buffer.

Reads the register type from a buffer.

Reads the transaction leaf from a buffer.

Reads the balance from a buffer.

Reads the value type from a buffer.

Reads a plaintext type from a buffer.

Reads the header leaf from a buffer.

Reads the record from a buffer.

Reads the entry type from a buffer.

Reads the plaintext from a buffer.

Reads the input ID from a buffer.

Reads the literal from a buffer.

Reads the finalize type from a buffer.

Reads the entry from a buffer.

Reads the path from a buffer.

Reads the entry from a buffer.

Reads the program ID from a buffer.

Reads the ciphertext from a buffer.

Reads a record type from a buffer.

Reads the request from a buffer.

Reads the transition leaf from a buffer.

Reads a struct from a buffer.

Reads in an identifier from a buffer.

Reads the register from a buffer.

Reads the owner from a buffer.

Implementors