mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Remove the idea of limited reads and writes.
This commit is contained in:
1 parent
a12292d094
commit
d275b379a3
11 files changed
+48
-102
No files matched your search
@@ -204,7 +204,6 @@ pri func decoder.decode_uncompressed?(dst writer1, src reader1)() {
|
||||
return error "internal error: inconsistent Huffman decoder state"
|
||||
}
|
||||
length -= n
|
||||
// TODO: distinguish between short and limited writes?
|
||||
// TODO: distinguish between reads and writes.
|
||||
return suspension "short read"
|
||||
}
|
||||
@@ -365,7 +364,6 @@ pri func decoder.decode_huffman?(dst writer1, src reader1)() {
|
||||
return error "internal error: inconsistent Huffman decoder state"
|
||||
}
|
||||
length -= n
|
||||
// TODO: distinguish between short and limited writes?
|
||||
return suspension "short write"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user