DecoderHelper.cs 406 B

1234567891011121314151617
  1. using System;
  2. namespace Ryujinx.Graphics.VDec
  3. {
  4. static class DecoderHelper
  5. {
  6. public static byte[] Combine(byte[] Arr0, byte[] Arr1)
  7. {
  8. byte[] Output = new byte[Arr0.Length + Arr1.Length];
  9. Buffer.BlockCopy(Arr0, 0, Output, 0, Arr0.Length);
  10. Buffer.BlockCopy(Arr1, 0, Output, Arr0.Length, Arr1.Length);
  11. return Output;
  12. }
  13. }
  14. }