Skip to content

Commit

Permalink
Fix offset
Browse files Browse the repository at this point in the history
Resolves #410
  • Loading branch information
Borewit committed Aug 2, 2022
1 parent f42fc2b commit ba61386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const INT8: IToken<number> = {

put(array: Uint8Array, offset: number, value: number): number {
dv(array).setInt8(offset, value);
return offset + 2;
return offset + 1;
}
};

Expand Down

0 comments on commit ba61386

Please sign in to comment.