You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ImageSharp/Formats/Jpeg/JpegThrowHelper.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,9 @@ internal static class JpegThrowHelper
25
25
[MethodImpl(InliningOptions.ColdPath)]
26
26
publicstaticvoidThrowBadMarker(stringmarker,intlength)=>thrownewInvalidImageContentException($"Marker {marker} has bad length {length}.");
27
27
28
+
[MethodImpl(InliningOptions.ColdPath)]
29
+
publicstaticvoidThrowNotEnoughBytesForMarker(bytemarker)=>thrownewInvalidImageContentException($"Input stream does not have enough bytes to parse declared contents of the {marker:X2} marker.");
30
+
28
31
[MethodImpl(InliningOptions.ColdPath)]
29
32
publicstaticvoidThrowBadQuantizationTableIndex(intindex)=>thrownewInvalidImageContentException($"Bad Quantization Table index {index}.");
0 commit comments