0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.Graphics.Nvdec/VDec/DecoderHelper.cs
2020-01-09 02:13:00 +01:00

17 lines
No EOL
406 B
C#

using System;
namespace Ryujinx.Graphics.VDec
{
static class DecoderHelper
{
public static byte[] Combine(byte[] arr0, byte[] arr1)
{
byte[] output = new byte[arr0.Length + arr1.Length];
Buffer.BlockCopy(arr0, 0, output, 0, arr0.Length);
Buffer.BlockCopy(arr1, 0, output, arr0.Length, arr1.Length);
return output;
}
}
}