mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
First cut at a "[] u8" slice type.
This commit is contained in:
1 parent
ceedd8c3b9
commit
519ec373f2
15 files changed
+123
-32
No files matched your search
@@ -93,6 +93,8 @@ 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() {
|
||||
// TODO: add some way to specify the bounds of the slice.
|
||||
var written[] u8 // = in.dst.slice()
|
||||
}
|
||||
return z
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user