pub fn encode_many(pems: &[Pem]) -> String {
    pems.iter()
        .map(encode)
        .collect::<Vec<String>>()
        .join("\r\n")
}
Encode multiple PEM structs into a PEM-encoded data string

# Example
```rust
use pem::{Pem, encode_many};

let data = vec![
Pem {
tag: String::from("FOO"),
contents: vec![1, 2, 3, 4],
},
Pem {
tag: String::from("BAR"),
contents: vec![5, 6, 7, 8],
},
];
encode_many(&data);
```
src/pem.rs