public static void WriteRaw(ref byte destination, ref byte source, int sourceBytesToCopy, ref int idx) { if (Is64BitProcess) { UnsafeMemory64.WriteRaw(ref destination, ref source, sourceBytesToCopy, ref idx); } else { UnsafeMemory32.WriteRaw(ref destination, ref source, sourceBytesToCopy, ref idx); } }
public static void WriteRaw(ref MessagePackWriter writer, byte[] source, ref int idx) { if (Is64BitProcess) { UnsafeMemory64.WriteRaw(ref writer, source, ref idx); } else { UnsafeMemory32.WriteRaw(ref writer, source, ref idx); } }