[−][src]Function picky::pem::parse_pem
pub fn parse_pem<T: ?Sized + AsRef<[u8]>>(
input: &T
) -> Result<Pem<'static>, PemError>
Read a PEM-encoded structure
If the input contains line ending characters (\r
, \n
), a copy of input
is allocated striping these. If you can strip these with minimal data copy
you should do it beforehand.