<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickTime File Format",
  "identifier" : "/documentation/quicktime-file-format/Metadata_item_keys_atom/Key_size",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Metadata_item_keys_atom_Key_size"
  },
  "title" : "Key_size"
}
-->

# Key_size

A 32-bit integer indicating the size of the entire structure containing a key definition.

## Overview

The `key_size` = `sizeof(key_size) + sizeof(key_namespace) + sizeof(key_value)`. Since `key_size` and `key_namespace` are both 32 bit integers, together they have a size of 8 bytes. Hence, the `key_value` structure will be equal to `key_size - 8`.

---

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)