trait DecimalBeBytes<const N: usize> {
// Required method
fn value_be_bytes(&self, idx: usize) -> [u8; N];
}
Expand description
Minimal trait to obtain a big-endian fixed-size byte array for a decimal’s
unscaled integer value at idx
.
Required Methods§
fn value_be_bytes(&self, idx: usize) -> [u8; N]
Implementations on Foreign Types§
Source§impl DecimalBeBytes<4> for Decimal32Array
Available on crate feature small_decimals
only.
impl DecimalBeBytes<4> for Decimal32Array
Available on crate feature
small_decimals
only.Source§impl DecimalBeBytes<8> for Decimal64Array
Available on crate feature small_decimals
only.
impl DecimalBeBytes<8> for Decimal64Array
Available on crate feature
small_decimals
only.