When compressing with a ZstdDict, the dictionary’s ID is written into the frame header.
compression.zstd/CompressionParameter.dict_id_flag
CompressionParameter.dict_id_flag