示例#1
0
文件: VFile.cs 项目: bclnet/DroidNet
 public static int Read(this VFile source, out bool value)
 {
     bool val; var r = source.Read((byte *)&val, sizeof(bool)); value = val; return(r);
 }
示例#2
0
文件: VFile.cs 项目: bclnet/DroidNet
 public static int Read(this VFile source, out float value)
 {
     float val; var r = source.Read((byte *)&val, sizeof(float)); value = val; return(r);
 }
示例#3
0
文件: VFile.cs 项目: bclnet/DroidNet
 public static int Read(this VFile source, out ushort value)
 {
     ushort val; var r = source.Read((byte *)&val, sizeof(ushort)); value = val; return(r);
 }
示例#4
0
文件: VFile.cs 项目: bclnet/DroidNet
 public static int Read(this VFile source, out long value)
 {
     long val; var r = source.Read((byte *)&val, sizeof(long)); value = val; return(r);
 }