# dtFabric format specification.
---
name: gzip
type: format
description: GZIP compressed stream format
urls: ["https://github.com/libyal/dtformats/blob/main/documentation/GZIP%20compressed%20stream%20format.asciidoc"]
---
name: int8
type: integer
attributes:
  format: signed
  size: 1
  units: bytes
---
name: uint8
type: integer
attributes:
  format: unsigned
  size: 1
  units: bytes
---
name: uint16
type: integer
attributes:
  format: unsigned
  size: 2
  units: bytes
---
name: int32
type: integer
attributes:
  format: signed
  size: 4
  units: bytes
---
name: uint32
type: integer
attributes:
  format: unsigned
  size: 4
  units: bytes
---
name: gzip_member_header
type: structure
attributes:
  byte_order: little-endian
members:
- name: signature
  data_type: uint16
- name: compression_method
  data_type: int8
- name: flags
  data_type: uint8
- name: modification_time
  data_type: int32
- name: compression_flags
  data_type: uint8
- name: operating_system
  data_type: uint8
---
name: gzip_member_footer
type: structure
attributes:
  byte_order: little-endian
members:
- name: checksum
  data_type: uint32
- name: uncompressed_data_size
  data_type: uint32
---
name: uint16le
type: integer
attributes:
  byte_order: little-endian
  format: unsigned
  size: 2
  units: bytes
---
name: char
type: character
attributes:
  byte_order: little-endian
  size: 1
  units: bytes
---
name: cstring
type: string
encoding: iso-8859-1
element_data_type: char
elements_terminator: "\x00"
