MCPcopy Create free account
hub / github.com/RustCrypto/utils / from_u8_le

Method from_u8_le

ctutils/src/choice.rs:111–113  ·  view source on GitHub ↗
(x: u8, y: u8)

Source from the content-addressed store, hash-verified

109 #[inline]
110 #[must_use]
111 pub const fn from_u8_le(x: u8, y: u8) -> Self {
112 Self::from_u8_lsb(bitle!(x, y, u8::BITS))
113 }
114
115 /// Initialize from the least significant bit of a `u8`.
116 #[inline]

Callers

nothing calls this directly

Calls 1

from_u8_lsbFunction · 0.85

Tested by

no test coverage detected