private void PushContext(EncoderContext ctx) { if (_contextStackPointer + 1 == _contextStack.Length) { throw new StackOverflowException("Too much nesting for context stack, increase expected nesting when creating the encoder"); } _contextStack[++_contextStackPointer] = ctx; }
protected override int CheckForMoreEffectiveEncodingMode(EncoderContext context) => EncodingMode;