<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Compression",
  "identifier" : "/documentation/Compression/compression_stream_flags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Compression"
    ],
    "preciseIdentifier" : "c:@EA@compression_stream_flags"
  },
  "title" : "compression_stream_flags"
}
-->

# compression_stream_flags

A set of values used to represent stream compression flags.

```
struct compression_stream_flags
```

## Topics

### Flag Constants

[`COMPRESSION_STREAM_FINALIZE`](/documentation/Compression/COMPRESSION_STREAM_FINALIZE)

Indicates that the operation will add no further input blocks to the stream.

### Initializers

[`init(_:)`](/documentation/Compression/compression_stream_flags/init(_:))

Creates a new constant from the given raw value.

[`init(rawValue:)`](/documentation/Compression/compression_stream_flags/init(rawValue:))

Creates a new constant from the given raw value.

### Instance Properties

[`rawValue`](/documentation/Compression/compression_stream_flags/rawValue)

The raw value of the constant.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)