public static byte[] smethod_16(BinaryReader A_0, int A_1, int A_2) { int position = (int)A_0.BaseStream.Position; Class966 class2 = new Class966(); class2.method_1(A_0); byte[] buffer = A_0.ReadBytes(class2.method_0()); A_0.BaseStream.Position = position + A_1; return(smethod_19(class2, buffer, A_0, A_2)); }
public static byte[] smethod_15(BinaryReader A_0, int A_1) { int position = (int)A_0.BaseStream.Position; Class966 class2 = new Class966(); class2.method_1(A_0); A_0.BaseStream.Position = position; int num2 = class2.int_2 + class2.method_0(); return(smethod_16(A_0, num2, A_1 - num2)); }
internal static byte[] smethod_19(Class966 A_0, byte[] A_1, BinaryReader A_2, int A_3) { int index = (14 + A_0.int_2) + A_1.Length; byte[] buffer = new byte[index + A_3]; using (MemoryStream stream = new MemoryStream(buffer)) { BinaryWriter writer = new BinaryWriter(stream); new Class688 { uint_1 = (uint)(index + A_3), uint_0 = (uint)index }.method_1(writer); A_0.method_2(writer); writer.Write(A_1); writer.Flush(); A_2.Read(buffer, index, A_3); return(buffer); } }
internal static byte[] smethod_17(Class966 A_0, Color[] A_1, BinaryReader A_2, int A_3) { return(smethod_19(A_0, smethod_18(A_1), A_2, A_3)); }