Skip to content

Commit b000fdf

Browse files
committed
Read from offset
1 parent 66231c0 commit b000fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/android/library/src/main/java/io/appwrite/Client.kt.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ class Client @JvmOverloads constructor(
362362
}
363363

364364
generateSequence {
365-
val readBytes = input.read(buffer)
365+
val readBytes = input.read(buffer, offset.toInt(), CHUNK_SIZE)
366366
if (readBytes >= 0) {
367367
buffer.copyOf(readBytes)
368368
} else {

0 commit comments

Comments
 (0)