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