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
22
33/**
44 * 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.
66 *
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.
88 *
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.
1010 *
1111 * @param value A value to chunk into evenly sized pieces
1212 *
You can’t perform that action at this time.
0 commit comments