Base codec is just dual of encoder and decoder.

interface BaseCodec {
    decoder: BaseDecoder;
    encoder: BaseEncoder;
}

Properties

Properties

decoder: BaseDecoder
encoder: BaseEncoder