Skip to content

Commit

Permalink
add support for rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
premiering committed Apr 28, 2024
1 parent 62f2e72 commit d172678
Show file tree
Hide file tree
Showing 7 changed files with 552 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules/
/node_modules/
/dist/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ It can be created empty, or using pre-existing data.

Here's an example of using byffer.ts:
```ts
import ByteBuf from 'byffer.ts';

// Create an empty buffer with 128 bytes
let buf: ByteBuf = ByteBuf.emptyBuffer(128);
// or, use an existing ArrayBuffer like class (ArrayBufferLike)
Expand Down
Loading

0 comments on commit d172678

Please sign in to comment.