define int decoder base class
impl delta encoding for long