pub fn new(buffer_settings: BufferSettings) -> Self {
        Self {
            _pd: PhantomData,
            buffer_settings,
        }
    }
Get a new decoder with explicit buffer settings
tonic/src/codec/prost.rs