holopy3/Assets/UniGLTF/UniJSON/Scripts/MsgPack/MsgPackValue.cs
Lena Biresch 490ef558ef CleanUp
2021-01-28 13:07:52 +01:00

24 lines
478 B
C#

using System;
namespace UniJSON.MsgPack
{
public struct MsgPackValue
{
public ArraySegment<Byte> Segment;
public int ParentIndex;
public MsgPackType Format
{
get
{
return (MsgPackType)Segment.Get(0);
}
}
public MsgPackValue(ArraySegment<Byte> segment, int parentIndex)
{
Segment = segment;
ParentIndex = parentIndex;
}
}
}