Stay organized with collections
Save and categorize content based on your preferences.
TuningFork_CProtobufSerialization
#include <tuningfork.h>
A series of bytes representing a serialized protocol buffer.
Summary
See also:TuningFork_CProtobufSerialization_free for how to deallocate the memory once finished with the buffer.
Public attributes
|
bytes
|
uint8_t *
|
dealloc)(struct TuningFork_CProtobufSerialization *)
|
void(*
Size of array.
|
size
|
uint32_t
Array of bytes.
|
Public attributes
bytes
uint8_t * TuningFork_CProtobufSerialization::bytes
dealloc
void(* TuningFork_CProtobufSerialization::dealloc)(struct TuningFork_CProtobufSerialization *)
Size of array.
Deallocation callback (may be NULL if not owned).
size
uint32_t TuningFork_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 2021-07-12 UTC.
[null,null,["Last updated 2021-07-12 UTC."],[],[],null,["# TuningFork_CProtobufSerialization Struct Reference\n\nTuningFork_CProtobufSerialization\n=================================\n\n`#include \u003ctuningfork.h\u003e`\n\nA series of bytes representing a serialized protocol buffer.\n\nSummary\n-------\n\n**See also:** [TuningFork_CProtobufSerialization_free](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1gae920d8055d8e68786ec8707871d90ad8) for how to deallocate the memory once finished with the buffer.\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|\n| [bytes](#struct_tuning_fork___c_protobuf_serialization_1ad5eb42727daa6ac75fb7bc65a83a47ac) | `uint8_t *` |\n| [dealloc](#struct_tuning_fork___c_protobuf_serialization_1afe2447cd6ddd5cdb4772f43b0d29dd9e)`)(struct TuningFork_CProtobufSerialization *)` | `void(*` Size of array. |\n| [size](#struct_tuning_fork___c_protobuf_serialization_1a47fc18cc13f284ec540a21c1cbeb2d0c) | `uint32_t` Array of bytes. |\n\nPublic attributes\n-----------------\n\n### bytes\n\n```scdoc\nuint8_t * TuningFork_CProtobufSerialization::bytes\n``` \n\n### dealloc\n\n```scdoc\nvoid(* TuningFork_CProtobufSerialization::dealloc)(struct TuningFork_CProtobufSerialization *)\n``` \nSize of array.\n\nDeallocation callback (may be NULL if not owned). \n\n### size\n\n```scdoc\nuint32_t TuningFork_CProtobufSerialization::size\n``` \nArray of bytes."]]