File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ export const MAX_CHUNK_SIZE = 65536
2
2
3
3
/**
4
4
* Chunks given `value` into evenly sized pieces (Same as `MAX_CHUNK_SIZE` bytes per each).
5
- * Returns `Generator<Uint8Array>` allowing to iterate over these chunks.
5
+ * Returns `Generator<Uint8Array, void >` allowing to iterate over these chunks.
6
6
*
7
- * If value is less then `MAX_CHUNK_SIZE`, it will be returned as-is.
7
+ * If the ` value` <= `MAX_CHUNK_SIZE`, it will be returned as-is.
8
8
*
9
- * If the last chunk is less than `MAX_CHUNK_SIZE`, then returned value will be the size that chunk.
9
+ * If the last chunk's size is less than `MAX_CHUNK_SIZE`, then returned value will be the size that chunk.
10
10
*
11
11
* @param value A value to chunk into evenly sized pieces
12
12
*
You can’t perform that action at this time.
0 commit comments