Agora RTC Objective-C API Reference Refactor

Data Fields
IPacketObserver::Packet Struct Reference

## Data Fields
const unsigned char * | buffer
unsigned int | size

## Constructor & Destructor Documentation

## ◆ Packet()

Packet | ( |  | ) |
| inline

## Field Documentation

## ◆ buffer

const unsigned char* buffer

The buffer address of the sent or received data.

Note
  Agora recommends setting `buffer` to a value larger than 2048 bytes. Otherwise, you may encounter undefined behaviors (such as crashes).

## ◆ size

unsigned int size

The buffer size of the sent or received data.