Skip to content

Commit

Permalink
TS-ify exif_parser and test
Browse files Browse the repository at this point in the history
Bug: b/289003444
Change-Id: I045c9a8516d41b2c3b1cf8725dbf277ae6af88a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5035499
Reviewed-by: Luciano Pacheco <lucmult@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1225836}
  • Loading branch information
psmarshall authored and Chromium LUCI CQ committed Nov 17, 2023
1 parent 563c853 commit 6dffcd3
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 256 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export class ByteReader {
* @param end Maximum position to read from.
* @return Image as a data url.
*/
readImage(size: number, end: number|undefined): string {
readImage(size: number, end?: number): string {
const rv = ByteReader.readImage(this.view_, this.pos_, size, end);
this.pos_ += size;
return rv;
Expand Down
Loading

0 comments on commit 6dffcd3

Please sign in to comment.