예제 #1
0
 // Token: 0x06000297 RID: 663 RVA: 0x000097E0 File Offset: 0x000079E0
 public void WriteFloat64(float value)
 {
     ByteBuffer.ConversionUnion conversionUnion = default(ByteBuffer.ConversionUnion);
     conversionUnion.Float64 = (double)value;
     this.WriteUInt64(conversionUnion.UInt64);
 }
예제 #2
0
 // Token: 0x0600028B RID: 651 RVA: 0x000093DC File Offset: 0x000075DC
 public double ReadFloat64()
 {
     ByteBuffer.ConversionUnion conversionUnion = default(ByteBuffer.ConversionUnion);
     conversionUnion.UInt64 = (ulong)this.ReadUInt32();
     return(conversionUnion.Float64);
 }
예제 #3
0
 // Token: 0x06000296 RID: 662 RVA: 0x000097B4 File Offset: 0x000079B4
 public void WriteFloat32(float value)
 {
     ByteBuffer.ConversionUnion conversionUnion = default(ByteBuffer.ConversionUnion);
     conversionUnion.Float32 = value;
     this.WriteUInt32(conversionUnion.UInt32);
 }
예제 #4
0
 // Token: 0x0600028A RID: 650 RVA: 0x000093B0 File Offset: 0x000075B0
 public float ReadFloat32()
 {
     ByteBuffer.ConversionUnion conversionUnion = default(ByteBuffer.ConversionUnion);
     conversionUnion.UInt32 = this.ReadUInt32();
     return(conversionUnion.Float32);
 }