<!--
{
  "documentType" : "article",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMReadOnlyDataBlockBuffer/Collection-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Collection Implementations"
}
-->

# Collection Implementations

## Topics

### Instance Properties

[`var count: Int`](/documentation/CoreMedia/CMReadOnlyDataBlockBuffer/count)

The number of bytes in the block buffer.

[`var isEmpty: Bool`](/documentation/CoreMedia/CMReadOnlyDataBlockBuffer/isEmpty)

Indicates whether the block buffer is empty.

---

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)