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. }