# Pes

class Pes(pid: Int, isKeyFrame: Boolean, streamId: PesType, pts: Long, val bufferData: ByteBuffer) : MpegTsPayload

Created by pedro on 28/8/23.

## Constructors

Pes
Link copied to clipboard
constructor(pid: Int, isKeyFrame: Boolean, streamId: PesType, pts: Long, bufferData: ByteBuffer)

## Properties

bufferData
Link copied to clipboard
val bufferData: ByteBuffer
headerLength
Link copied to clipboard
val headerLength: Int = 14
isKeyFrame
Link copied to clipboard
val isKeyFrame: Boolean
pid
Link copied to clipboard
val pid: Int

## Functions

writeHeader
Link copied to clipboard
fun writeHeader(buffer: ByteBuffer)