Stay organized with collections Save and categorize content based on your preferences.

CueEncoder

@UnstableApi
public final class CueEncoder


Encodes data that can be decoded by CueDecoder.

Summary

Public constructors

Public methods

byte[]
encode(List<Cue> cues)

Encodes an List of Cue to a byte array that can be decoded by .

Public constructors

CueEncoder

public CueEncoder()

Public methods

encode

public byte[] encode(List<Cue> cues)

Encodes an List of Cue to a byte array that can be decoded by .

Parameters
List<Cue> cues

Cues to be encoded.

Returns
byte[]

The serialized byte array.