public static int getBlobEncryptionKeyRecordSize(ByteBuffer blobEncryptionKey) {
      return Version_Field_Size_In_Bytes + Blob_Encryption_Key_Size_Field_In_Bytes + blobEncryptionKey.remaining()
          + Crc_Size;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|         |           |                      |            |
| version |   size    |  blob encryption key |     Crc    |
|(2 bytes)| (4 bytes) |  (n bytes)           |  (8 bytes) |
|         |           |                      |            |
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 version                - The version of the blob key

 size                   - The size of the blob key

 blob encryption key    - The blob encryption key in bytes

 crc                    - The crc of the blob key record
ambry-messageformat/src/main/java/com/github/ambry/messageformat/MessageFormatRecord.java