Skip to content

Commit

Permalink
more explanation to _buf
Browse files Browse the repository at this point in the history
  • Loading branch information
littletsu committed Nov 27, 2021
1 parent 24c6faf commit 2c6868e
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 @@ -76,7 +76,7 @@ this function is a very simple effect that will return the byte that is passed o
along with these parameters, there are also global variables and functions that can be used:

```js
global._buf; // array of all the chunks that have been read and modified.
global._buf; // array of all the chunks that have been read and modified. a chunk is only added to this array when its finished being modified.
global.readed; // how many bytes of the file have been read
global.chunkI; // the position/index of the current chunk in "global._buf"
global.prog; // increments every time a byte is modified, starts at 0
Expand Down

0 comments on commit 2c6868e

Please sign in to comment.