Beispiel #1
0
 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")));
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);
 }