Skip to content

Commit

Permalink
docs: 📝 fix big mistake in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardDorian committed Mar 30, 2022
1 parent dff4df8 commit b04b7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const buffer = Buffer.from(
'hex'
);

const buf = new BufWrapper();
const buf = new BufWrapper(buffer);
buf.readInt(); // 42
buf.readString(); // 'Hello World'
buf.readLong(); // 123456789
Expand Down

0 comments on commit b04b7a5

Please sign in to comment.