Esempio n. 1
0
 public void ToBuffer(ref TSMessagePackWriter writer)
 {
     writer.WriteByte((byte)PCRIncluded);
     if (PCRIncluded == PCRInclude.包含)
     {
         writer.WriteInt6(ToPCR());
     }
     if (FillSize > 0)
     {
         writer.WriteArray(Enumerable.Range(0, FillSize).Select(s => (byte)0xFF).ToArray());
     }
 }