module Compress::Zip::FileInfo
Overview
Base type for file information related to zip entries.
Direct including types
Defined in:
compress/zip/file_info.crConstant Summary
- DATA_DESCRIPTOR_SIGNATURE =
134695760
- DEFLATE_END_SIGNATURE =
Bytes[80, 75, 7, 8, read_only: true]
- SIGNATURE =
67324752
Constructors
Instance Method Summary
- #comment
- #comment=(comment)
- #compressed_size
- #compressed_size=(compressed_size)
- #compression_method
- #compression_method=(compression_method)
- #crc32
- #crc32=(crc32)
- #dir? : Bool
Returns
true
if this entry is a directory. - #extra
- #extra=(extra)
- #file? : Bool
Returns
true
if this entry is a file. - #filename
- #filename=(filename)
- #general_purpose_bit_flag
- #general_purpose_bit_flag=(general_purpose_bit_flag)
- #offset
- #offset=(offset)
- #time : Time
- #time=(time : Time)
- #uncompressed_size
- #uncompressed_size=(uncompressed_size)
- #version : UInt16
- #version=(version : UInt16)
Constructor Detail
Instance Method Detail
def commentSource
def comment=(comment)Source
def compressed_sizeSource
def compressed_size=(compressed_size)Source
def compression_methodSource
def compression_method=(compression_method)Source
def crc32Source
def crc32=(crc32)Source
def extraSource
def extra=(extra)Source
def filenameSource
def filename=(filename)Source
def general_purpose_bit_flagSource
def general_purpose_bit_flag=(general_purpose_bit_flag)Source
def offsetSource
def offset=(offset)Source
def uncompressed_sizeSource
def uncompressed_size=(uncompressed_size)Source
© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Compress/Zip/FileInfo.html