Skip to content

Commit

Permalink
docs: added an example for using a Buffer (:tophat: @steven89)
Browse files Browse the repository at this point in the history
  • Loading branch information
clayzermk1 committed Jan 25, 2022
1 parent c28ba3e commit 2e84ac1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This module could not have been built without [this awesome blog post series](ht
```javascript
var Marshal = require('marshal');
var m = new Marshal('0408220a68656c6c6f', 'hex');
// OR var m = new Marshal(someBufferInstance);
console.log(m.parsed); // 'hello'
```

Expand Down

0 comments on commit 2e84ac1

Please sign in to comment.