def METHOD_NAME(self, verbose=False) -> None:
    def vprint(txt):
        if verbose:
            print(txt)
    if self.read_uint(16) != 0x8b1f:
        raise ValueError("Invalid GZIP magic number")
    cmeth = self.read_uint(8)
    if cmeth != 8:
        raise ValueError(f"Unsupported compression method: {str(cmeth)}")
    # reserved flags
    flags: int = self.read_uint(8)
    if flags & 0xe0 != 0:
        vprint("Reserved flags are set")
    # modification time
    mtime = self.read_uint(32)
    if mtime != 0:
        dt = datetime.datetime.fromtimestamp(mtime, datetime.timezone.utc)
        vprint(f"Last modified: {dt}")
    else:
        vprint("Last modified: N/A")
    # extra flags
    extraflags = self.read_uint(8)
    if extraflags == 2:
        vprint("Extra flags: Maximum compression")
    elif extraflags == 4:
        vprint("Extra flags: Fastest compression")
    else:
        vprint(f"Extra flags: Unknown ({extraflags})")
    osbyte = self.read_uint(8)
    osstr: str = self.operating_system.get(osbyte, "Really unknown")
    vprint(f"Operating system: {osstr}")
    # handle assorted flags
    if flags & 0x01:
        vprint("Flag: Text")
    if flags & 0x04:
        vprint("Flag: Extra")
        count: int = self.read_uint(16)
        while count > 0:  # Skip extra data
            self.read_uint(8)
            count -= 1
    if flags & 0x08:
        vprint(f"File name: {self.read_nul_terminated_string()}")
    if flags & 0x02:
        vprint(f"Header CRC-16: {self.read_uint(16):04X}")
    if flags & 0x10:
        vprint(f"Comment: {self.read_nul_terminated_string()}")