macro_rules! encoder_methods {
    ($($name:ident($ty:ty);)*) => { ... };
}