# CProtobufSerialization

`#include <tuningfork.h>`

A series of bytes representing a serialized protocol buffer.

## Summary

**See also:** [CProtobufSerialization_Free](https://developer.android.com/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1ga85c8f507c9d70f4a12b7fe34a9a594f0) for how to deallocate the memory once finished with the buffer.

| ### Public attributes ||
|---|---|
| `https://developer.android.com/games/sdk/reference/performance-tuner/custom-engine/struct/c-protobuf-serialization#struct_c_protobuf_serialization_1ae305c154fc1f8088534d76943b9b8cab` | `uint8_t *` |
| `https://developer.android.com/games/sdk/reference/performance-tuner/custom-engine/struct/c-protobuf-serialization#struct_c_protobuf_serialization_1ae3f7e920e91f3dd740e07b5632c66040)(struct CProtobufSerialization *)` | `void(*` Size of array. |
| `https://developer.android.com/games/sdk/reference/performance-tuner/custom-engine/struct/c-protobuf-serialization#struct_c_protobuf_serialization_1a526040b7f458d820f12806c43cde7d33` | `uint32_t` Array of bytes. |

## Public attributes

### bytes

```scdoc
uint8_t * CProtobufSerialization::bytes
```

### dealloc

```scdoc
void(* CProtobufSerialization::dealloc)(struct CProtobufSerialization *)
```
Size of array.

Deallocation callback (may be NULL if not owned).

### size

```scdoc
uint32_t CProtobufSerialization::size
```
Array of bytes.