private static void FailOnFrameLengthLessThanLengthFieldEndOffset(IByteBuffer input,
                                                                   long frameLength,
                                                                   int lengthFieldEndOffset)
 {
     _ = input.SkipBytes(lengthFieldEndOffset);
     CThrowHelper.ThrowCorruptedFrameException_LengthFieldEndOffset(frameLength, lengthFieldEndOffset);
 }