mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Rename I/O available methods to length
This commit is contained in:
1 parent
79b923c322
commit
be8542e313
15 files changed
+149
-152
No files matched your search
@@ -297,7 +297,7 @@ pri func decoder.swizzle!(dst: ptr base.pixel_buffer, src: base.io_reader) base.
|
||||
|
||||
while.outer true {
|
||||
while this.pending_pad > 0 {
|
||||
if args.src.available() <= 0 {
|
||||
if args.src.length() <= 0 {
|
||||
return "@internal note: short read"
|
||||
}
|
||||
this.pending_pad -= 1
|
||||
|
||||
Reference in new issue
Block a user