---
title: COMPRESSION_STATUS_OK
framework: compression
role: symbol
role_heading: Global Variable
path: compression/compression_status_ok
---

# COMPRESSION_STATUS_OK

Indicates the stream has consumed all data in the source buffer, or used all space in the destination buffer.

## Declaration

```swift
var COMPRESSION_STATUS_OK: compression_status { get }
```

## See Also

### Status Constants

- [COMPRESSION_STATUS_END](compression/compression_status_end.md)
- [COMPRESSION_STATUS_ERROR](compression/compression_status_error.md)
