Exemple #1
0
 public static int Read(this VFile source, out bool value)
 {
     bool val; var r = source.Read((byte *)&val, sizeof(bool)); value = val; return(r);
 }
Exemple #2
0
 public static int Read(this VFile source, out float value)
 {
     float val; var r = source.Read((byte *)&val, sizeof(float)); value = val; return(r);
 }
Exemple #3
0
 public static int Read(this VFile source, out ushort value)
 {
     ushort val; var r = source.Read((byte *)&val, sizeof(ushort)); value = val; return(r);
 }
Exemple #4
0
 public static int Read(this VFile source, out long value)
 {
     long val; var r = source.Read((byte *)&val, sizeof(long)); value = val; return(r);
 }