Class MPEG2MPTS.MPEG2MPTSBuffer

  • Enclosing class:
    MPEG2MPTS

    public class MPEG2MPTS.MPEG2MPTSBuffer
    extends Object
    The Class MPEG2MPTSBuffer.
    • Constructor Detail

      • MPEG2MPTSBuffer

        public MPEG2MPTSBuffer​(byte[] buf,
                               int offset,
                               int length)
        Instantiates a new MPEG2 mpts buffer.
        Parameters:
        buf - the buf
        offset - the offset
        length - the length
    • Method Detail

      • readPacket

        public MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet readPacket()
                                                         throws IllegalArgumentException
        Read packet.
        Returns:
        the MPEG2 packet
        Throws:
        IllegalArgumentException - the illegal argument exception