Added functionality that allows for the creation and modification of SCTE35. Exposed some private fields from SCTE35 related interfaces, such as mid. Segmentation Descriptors, Splice Commands, and SCTE35 are able to decode all of the fields instead of just skipping over them. Added Interfaces and structures that were necessary to achieve this. Every field that can be decoded into a struct can now also be encoded back into bytes.
PSI interface was removed because nothing implemented it. It was replaced by a TableHeader struct.
Tests were added for both the new SCTE35 functions and the TableHeader functions.
Added functionality that allows for the creation and modification of SCTE35. Exposed some private fields from SCTE35 related interfaces, such as mid. Segmentation Descriptors, Splice Commands, and SCTE35 are able to decode all of the fields instead of just skipping over them. Added Interfaces and structures that were necessary to achieve this. Every field that can be decoded into a struct can now also be encoded back into bytes.
PSI interface was removed because nothing implemented it. It was replaced by a TableHeader struct.
Tests were added for both the new SCTE35 functions and the TableHeader functions.
Example of how to use the new SCTE35 functions: