import BitArray from '../../../../common/BitArray' ; import GeneralAppIdDecoder from './GeneralAppIdDecoder' ; export default abstract class AbstractExpandedDecoder { private readonly information : BitArray ; private readonly generalDecoder : GeneralAppIdDecoder ; constructor ( information ) { this . information = information ; this . generalDecoder = new GeneralAppIdDecoder ( information ) ; } protected getInformation ( ) { return this . information ; } protected getGeneralDecoder ( ) { return this . generalDecoder ; } public abstract parseInformation ( ) ; }