Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-05-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-05-05 UTC."],[],[],null,["# CProtobufSerialization Struct Reference\n\nCProtobufSerialization\n======================\n\n`#include \u003ctuningfork.h\u003e`\n\nA series of bytes representing a serialized protocol buffer.\n\nSummary\n-------\n\n**See also:** [CProtobufSerialization_Free](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1ga85c8f507c9d70f4a12b7fe34a9a594f0) for how to deallocate the memory once finished with the buffer.\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|----------------------------|\n| [bytes](#struct_c_protobuf_serialization_1ae305c154fc1f8088534d76943b9b8cab) | `uint8_t *` |\n| [dealloc](#struct_c_protobuf_serialization_1ae3f7e920e91f3dd740e07b5632c66040)`)(struct CProtobufSerialization *)` | `void(*` Size of array. |\n| [size](#struct_c_protobuf_serialization_1a526040b7f458d820f12806c43cde7d33) | `uint32_t` Array of bytes. |\n\nPublic attributes\n-----------------\n\n### bytes\n\n```scdoc\nuint8_t * CProtobufSerialization::bytes\n``` \n\n### dealloc\n\n```scdoc\nvoid(* CProtobufSerialization::dealloc)(struct CProtobufSerialization *)\n``` \nSize of array.\n\nDeallocation callback (may be NULL if not owned). \n\n### size\n\n```scdoc\nuint32_t CProtobufSerialization::size\n``` \nArray of bytes."]]