public static MsgPack WriteMP(this KeyUV UV, string name) { if (UV.U == null && UV.V == null) { return(MsgPack.Null); } return(new MsgPack(name).Add(UV.U.WriteMP("U")).Add(UV.V.WriteMP("V"))); }
public static void ReadKeyUV(this Stream IO, ref KeyUV UV, int C_F16) { IO.ReadKey(ref UV.U, C_F16); IO.ReadKey(ref UV.V, C_F16); }
public static void Write(this Stream IO, KeyUV UV, string Temp, string Data, bool A3DC = false) { IO.Write(UV.U, Temp, Data + "U", A3DC); IO.Write(UV.V, Temp, Data + "V", A3DC); }