mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Rename skip32 to skip_u32
This commit is contained in:
1 parent
1ed0f89948
commit
8b70ad0565
12 files changed
+106
-106
No files matched your search
@@ -71,12 +71,12 @@ pub func decoder.transform_io?(dst: base.io_writer, src: base.io_reader, workbuf
|
||||
}
|
||||
flags = args.src.read_u8?()
|
||||
// TODO: API for returning the header's MTIME field.
|
||||
args.src.skip32?(n: 6)
|
||||
args.src.skip_u32?(n: 6)
|
||||
|
||||
// Handle FEXTRA.
|
||||
if (flags & 0x04) <> 0 {
|
||||
xlen = args.src.read_u16le?()
|
||||
args.src.skip32?(n: xlen as base.u32)
|
||||
args.src.skip_u32?(n: xlen as base.u32)
|
||||
}
|
||||
|
||||
// Handle FNAME.
|
||||
@@ -105,7 +105,7 @@ pub func decoder.transform_io?(dst: base.io_writer, src: base.io_reader, workbuf
|
||||
|
||||
// Handle FHCRC.
|
||||
if (flags & 0x02) <> 0 {
|
||||
args.src.skip32?(n: 2)
|
||||
args.src.skip_u32?(n: 2)
|
||||
}
|
||||
|
||||
// Reserved flags bits must be zero.
|
||||
|
||||
Reference in new issue
Block a user