Bytes4

Type Alias Bytes4 

Source
pub type Bytes4 = Array<u8, 4>;
Expand description

Wrapper type for all array-based 32-bit types implementing many important traits, so types based on it can simply derive their implementations.

Type keeps data in little-endian byte order and displays them in the same order (like bitcoin SHA256 single hash type).

Aliased Type§

pub struct Bytes4(/* private fields */);

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes