Read this: https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md#skippable-frames
If there is a need to start such a flow with some user data encapsulated into a skippable frame, it’s recommended to start with a zero-byte LZ4 frame followed by a skippable frame. This will make it easier for file type identifiers.
Read this: https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md#skippable-frames