[][src]Trait koibumi_core::io::ReadFromExact

pub trait ReadFromExact {
    pub fn read_from_exact(bytes: impl AsRef<[u8]>) -> Result<Self>
    where
        Self: Sized
; }

Provides a method that reads this object as a Bitmessage entity from a byte array with an exact length.

Required methods

pub fn read_from_exact(bytes: impl AsRef<[u8]>) -> Result<Self> where
    Self: Sized
[src]

Reads this object as a Bitmessage entity from a byte array with an exact length.

Loading content...

Implementors

impl<T> ReadFromExact for T where
    T: ReadFrom
[src]

Loading content...