Beispiel #1
0
 public IByteBuffer WriteFloatLE(float value) => this.WriteIntLE(ByteBufferUtils.SingleToInt32Bits(value));
Beispiel #2
0
 public IByteBuffer WriteFloat(float value)
 {
     this.WriteInt(ByteBufferUtils.SingleToInt32Bits(value));
     return(this);
 }
Beispiel #3
0
 public IByteBuffer SetFloatLE(int index, float value)
 {
     return(this.SetIntLE(index, ByteBufferUtils.SingleToInt32Bits(value)));
 }
Beispiel #4
0
 public float ReadFloatLE() => ByteBufferUtils.Int32BitsToSingle(this.ReadIntLE());
Beispiel #5
0
 public float GetFloatLE(int index) => ByteBufferUtils.Int32BitsToSingle(this.GetIntLE(index));