//! Streaming packet serialization.
use std::fmt;
use std::io::{self, Write};
use std::iter;
use nettle::{Hash, Yarrow};
use {
Error,
HashAlgorithm,
Key,
Literal,
MDC,
OnePassSig,
PKESK,
Result,
SKESK,
Signature,
Tag,
TPK,
};
use ctb::CTB;
use packet::BodyLength;
use super::{
PartialBodyFilter,
Serialize