Stay organized with collections
Save and categorize content based on your preferences.
CProtobufSerialization
#include <tuningfork.h>
A series of bytes representing a serialized protocol buffer.
Summary
See also:CProtobufSerialization_Free for how to deallocate the memory once finished with the buffer.
Public attributes
|
bytes
|
uint8_t *
|
dealloc)(struct CProtobufSerialization *)
|
void(*
Size of array.
|
size
|
uint32_t
Array of bytes.
|
Public attributes
bytes
uint8_t * CProtobufSerialization::bytes
dealloc
void(* CProtobufSerialization::dealloc)(struct CProtobufSerialization *)
Size of array.
Deallocation callback (may be NULL if not owned).
size
uint32_t CProtobufSerialization::size
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.
[null,null,["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."]]