From 2c6868edd6856774253da8916b758f096788c9ea Mon Sep 17 00:00:00 2001 From: lucia7777 <38116582+qinatsu@users.noreply.github.com> Date: Sat, 27 Nov 2021 00:24:42 -0600 Subject: [PATCH] more explanation to _buf --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57b7c68..677bc2b 100644 --- a/README.md +++ b/README.md @@ -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