Browse Source

Remove unused code.

pull/2702/head
James Jackson-South 2 years ago
parent
commit
4f289f9e12
  1. 3
      src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegBitReader.cs

3
src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegBitReader.cs

@ -84,9 +84,6 @@ internal struct JpegBitReader
[MethodImpl(InliningOptions.ShortMethod)]
public bool HasBadMarker() => this.Marker != JpegConstants.Markers.XFF && !this.HasRestartMarker();
[MethodImpl(InliningOptions.ShortMethod)]
public bool HasEndMarker() => this.Marker == JpegConstants.Markers.EOI;
[MethodImpl(InliningOptions.AlwaysInline)]
public void FillBuffer()
{

Loading…
Cancel
Save