pub struct BinarySlice(/* private fields */);Expand description
An adapter that streams a slice of 8bit unsigned integers as binary.
For fixed-size arrays, see the BinaryArray type.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for BinarySlice
impl AsRef<[u8]> for BinarySlice
Source§impl Debug for BinarySlice
impl Debug for BinarySlice
Source§impl Value for BinarySlice
impl Value for BinarySlice
Source§fn stream<'sval, S: Stream<'sval> + ?Sized>(
&'sval self,
stream: &mut S,
) -> Result
fn stream<'sval, S: Stream<'sval> + ?Sized>( &'sval self, stream: &mut S, ) -> Result
Stream this value through a
Stream.Source§fn to_f32(&self) -> Option<f32>
fn to_f32(&self) -> Option<f32>
Try convert this value into a 32bit binary floating point number.