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