Skip to content

Commit

Permalink
fix: handle data after EOI (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker authored Sep 23, 2024
1 parent 156cad7 commit dfb0000
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/markers/eoi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import * as r from "restructure";

const EndOfImageMarker = {
name: () => "EOI",
afterEOI: new r.Reserved(r.uint8, Infinity),
};

export default EndOfImageMarker;

0 comments on commit dfb0000

Please sign in to comment.