@LaFoulqueDuVexin I think the padding may come in handy when there is no way to detect the end of stream.