How transmit 1 argument, a Struct, to all players?

Options
My event has one argument which is a struct of the type VoiceChatPacket, which looks like this:
public struct VoiceChatPacket
{
 public VoiceChatCompression Compression;
 public int Length;
 public byte[] Data;
 public int NetworkId;
}

This struct needs to be transmitted to all other players, and I need help how to do this with PUN. All fields in this struct needs to be transmitted, the part of the Data byte array that needs to be sent is from index 0 and the amount of elements is the same as the Length property.

How would this be done with Photon Cloud / PUN?

Answers