class GzipMetadata
source · line 122public
public class GzipMetadata public constructor(
filename: List<Byte>? = None, comment: List<Byte>? = None,
/**
* The header modification timestamp in unsigned Unix seconds.
*/
public val modifiedUnixSeconds: UInt = 0U,
/**
* Whether the encoder includes a gzip header CRC.
*/
public val headerCrc: Boolean = false
)
Optional gzip header metadata with copied filename/comment byte arrays. This metadata does not change the uncompressed payload.
property filename
source · line 136public
public val filename: Array<Byte>?
get: public read-only
An optional copied gzip original-filename field.
property comment
source · line 140public
public val comment: Array<Byte>?
get: public read-only
An optional copied gzip comment field.
constructor constructor
source · line 122public
constructor(filename: List<Byte>? = None, comment: List<Byte>? = None, public val modifiedUnixSeconds: UInt = 0U, public val headerCrc: Boolean = false)
parameter modifiedUnixSeconds
source · line 127public
public val modifiedUnixSeconds: UInt = 0U
parameter filename
source · line 123public
filename: List<Byte>? = None
parameter headerCrc
source · line 131public
public val headerCrc: Boolean = false
parameter comment
source · line 123public
comment: List<Byte>? = None
property headerCrc
source · line 131public
public val headerCrc: Boolean = false
get: public read-only
Whether the encoder includes a gzip header CRC.
property modifiedUnixSeconds
source · line 127public
public val modifiedUnixSeconds: UInt = 0U
get: public read-only
The header modification timestamp in unsigned Unix seconds.