Class StartCode
java.lang.Object
org.codice.alliance.video.stream.mpegts.netty.StartCode
- All Implemented Interfaces:
io.netty.buffer.ByteBufProcessor,io.netty.util.ByteProcessor
A start code is the byte sequence 0x00 0x00 0x01 0xXX, where XX is any byte value. When used with
ByteBuf.forEachByte, this caller will get the index position of the last byte of the start code.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.util.ByteProcessor
io.netty.util.ByteProcessor.IndexNotOfProcessor, io.netty.util.ByteProcessor.IndexOfProcessor -
Field Summary
Fields inherited from interface io.netty.buffer.ByteBufProcessor
FIND_CR, FIND_CRLF, FIND_LF, FIND_LINEAR_WHITESPACE, FIND_NON_CR, FIND_NON_CRLF, FIND_NON_LF, FIND_NON_LINEAR_WHITESPACE, FIND_NON_NUL, FIND_NULFields inherited from interface io.netty.util.ByteProcessor
FIND_ASCII_SPACE, FIND_COMMA, FIND_SEMI_COLON -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StartCode
public StartCode()
-
-
Method Details
-
init
public void init() -
process
- Specified by:
processin interfaceio.netty.util.ByteProcessor- Throws:
Exception
-