pub fn write<W: Write>(w: &mut W, f: &Frame) -> Result<()>
Writes one frame. Rejects sections over the limits before sending anything.