mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add a status.is_suspension method.
This commit is contained in:
1 parent
935cd73686
commit
0f86add17e
7 files changed
+68
-4
No files matched your search
@@ -92,6 +92,8 @@ pub struct decoder?(
|
||||
pub func decoder.decode?(dst writer1, src reader1)() {
|
||||
// TODO: copy from dst to history, if we aren't finished.
|
||||
var z status = try this.decode_blocks?(dst:in.dst, src:in.src)
|
||||
if z.is_suspension() {
|
||||
}
|
||||
return z
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user