pub fn new<T: ?Sized + AsRef<[u8]>>(inner: &T) -> Reader<'_> {
        Reader {
            inner: inner.as_ref(),
            offset: 0,
        }
    }
/// Creates a new `Reader` instance from the given byte sequence.
///
/// # Example
/// ```rust
/// # use sshcerts::ssh::Reader;
/// let data = vec![0, 0, 0, 42];
/// let mut reader = Reader::new(&data);
/// let num = reader.read_u32().unwrap();
/// assert_eq!(num, 42);
/// ```
Creates a new `Reader` instance from the given byte sequence.
Creates a new ` Reader ` instance from the given byte sequence .
pub fn new<T: ?Sized + AsRef<[u8]>>(inner: &T) -> Reader<'_> {
        Reader {
            inner: inner.as_ref(),
            offset: 0,
        }
    }
pub fn new < T : ? Sized + AsRef < [ u8 ] > > ( inner : & T ) -> Reader < ' _ > { Reader { inner : inner . as_ref ( ) , offset : 0 , } }
Creates a new `Reader` instance from the given byte sequence.
Creates a new ` Reader ` instance from the given byte sequence .
inner
&T
example
None
use sshcerts::ssh::reader;
None