Home | History | Annotate | Download | only in zip

Lines Matching full:uint16

93 	// The count of files inside a zip is truncated to fit in a uint16.
108 if uint16(len(z.File)) != uint16(end.directoryRecords) { // only compare 16 bits here
222 filenameLen := int(b.uint16())
223 extraLen := int(b.uint16())
239 f.CreatorVersion = b.uint16()
240 f.ReaderVersion = b.uint16()
241 f.Flags = b.uint16()
242 f.Method = b.uint16()
243 f.ModifiedTime = b.uint16()
244 f.ModifiedDate = b.uint16()
250 filenameLen := int(b.uint16())
251 extraLen := int(b.uint16())
252 commentLen := int(b.uint16())
253 b = b[4:] // skipped start disk number and internal attributes (2x uint16)
267 tag := b.uint16()
268 size := b.uint16()
365 diskNbr: uint32(b.uint16()),
366 dirDiskNbr: uint32(b.uint16()),
367 dirRecordsThisDisk: uint64(b.uint16()),
368 directoryRecords: uint64(b.uint16()),
371 commentLen: b.uint16(),
428 b = b[12:] // skip dir size, version and version needed (uint64 + 2x uint16)
455 func (b *readBuf) uint16() uint16 {
456 v := binary.LittleEndian.Uint16(*b)