You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
479 B
15 lines
479 B
namespace EternalArrowBackup.ContentTransformer.ClearText
|
|
{
|
|
using System;
|
|
|
|
internal static class BufferHelpers
|
|
{
|
|
public static void Add(byte[] source, byte[] target, int targetOffset) {
|
|
Buffer.BlockCopy(source, 0, target, targetOffset, source.Length);
|
|
}
|
|
|
|
public static void Extract(byte[] source, int sourceOffset, byte[] target) {
|
|
Buffer.BlockCopy(source, sourceOffset, target, 0, target.Length);
|
|
}
|
|
}
|
|
}
|
|
|