# Pat

class Pat(idExtension: Short, version: Byte, var service: Mpeg2TsService) : Psi

Created by pedro on 24/8/23.

PAT (Program Association Table)

A type of PSI packet

Program num -> 16 bits Reserved bits -> 3 bits Program map PID -> 13 bits

## Constructors

Pat
Link copied to clipboard
constructor(idExtension: Short, version: Byte, service: Mpeg2TsService)

## Properties

isKeyFrame
Link copied to clipboard
val isKeyFrame: Boolean
pid
Link copied to clipboard
val pid: Int
service
Link copied to clipboard
var service: Mpeg2TsService
version
Link copied to clipboard
var version: Byte

## Functions

getSize
Link copied to clipboard
fun getSize(): Int
getTableDataSize
Link copied to clipboard
open override fun getTableDataSize(): Int
write
Link copied to clipboard
fun write(byteBuffer: ByteBuffer)
writeData
Link copied to clipboard
open override fun writeData(byteBuffer: ByteBuffer)