mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-03-26 10:52:04 -04:00
15 lines
345 B
C#
15 lines
345 B
C#
using System;
|
|
|
|
namespace AudibleUtilities.Widevine;
|
|
|
|
internal static class Extensions
|
|
{
|
|
public static T[] Append<T>(this T[] message, T[] appendData)
|
|
{
|
|
var origLength = message.Length;
|
|
Array.Resize(ref message, origLength + appendData.Length);
|
|
Array.Copy(appendData, 0, message, origLength, appendData.Length);
|
|
return message;
|
|
}
|
|
}
|