コード例 #1
0
ファイル: ByteBuffer.cs プロジェクト: linzhiqiang/Aix.Sockets
 public IByteBuffer WriteFloatLE(float value) => this.WriteIntLE(ByteBufferUtils.SingleToInt32Bits(value));
コード例 #2
0
ファイル: ByteBuffer.cs プロジェクト: linzhiqiang/Aix.Sockets
 public IByteBuffer WriteFloat(float value)
 {
     this.WriteInt(ByteBufferUtils.SingleToInt32Bits(value));
     return(this);
 }
コード例 #3
0
ファイル: ByteBuffer.cs プロジェクト: linzhiqiang/Aix.Sockets
 public IByteBuffer SetFloatLE(int index, float value)
 {
     return(this.SetIntLE(index, ByteBufferUtils.SingleToInt32Bits(value)));
 }
コード例 #4
0
ファイル: ByteBuffer.cs プロジェクト: linzhiqiang/Aix.Sockets
 public float ReadFloatLE() => ByteBufferUtils.Int32BitsToSingle(this.ReadIntLE());
コード例 #5
0
ファイル: ByteBuffer.cs プロジェクト: linzhiqiang/Aix.Sockets
 public float GetFloatLE(int index) => ByteBufferUtils.Int32BitsToSingle(this.GetIntLE(index));