// Token: 0x06001E3C RID: 7740 RVA: 0x00061EAC File Offset: 0x000600AC
 public static void smethod_4(Class321 pd, BinaryWriter write_stream, uint add_length, byte[] add_buffer, uint start_pos, uint copy_length, uint copy_pos)
 {
     if (add_length != 0U)
     {
         if (pd.uint_3 != 0U)
         {
             Class292.smethod_3(pd, write_stream);
         }
         byte[] array = new byte[add_length];
         Array.Copy(add_buffer, (long)((ulong)start_pos), array, 0L, (long)((ulong)add_length));
         pd.queue_0.Enqueue(array);
     }
     if (copy_length != 0U)
     {
         if (pd.uint_3 == 0U)
         {
             pd.uint_4 = copy_pos;
             pd.uint_3 = copy_length;
             return;
         }
         if (pd.uint_4 + pd.uint_3 == copy_pos)
         {
             pd.uint_3 += copy_length;
             return;
         }
         Class292.smethod_3(pd, write_stream);
         pd.uint_4 = copy_pos;
         pd.uint_3 = copy_length;
     }
 }
 // Token: 0x06001E40 RID: 7744 RVA: 0x0000B95F File Offset: 0x00009B5F
 private static void smethod_8(Class321 pd, BinaryWriter write_stream)
 {
     Class292.smethod_3(pd, write_stream);
     Class292.smethod_1(write_stream, 0U, null, 0U);
     Class292.smethod_0(pd, write_stream, 0U, 0U);
 }