11 lines
300 B
C#
11 lines
300 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Qrakhen.Qamp.Core.Values;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Size = sizeof(ulong))]
|
|
public readonly unsafe struct Ref(Value* value)
|
|
{
|
|
[Serialized] public readonly Value* Value = value;
|
|
|
|
public override string ToString() => $"0x{*Value}";
|
|
} |