We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db98dde commit 3563c6eCopy full SHA for 3563c6e
ValveKeyValue/ValveKeyValue/Deserialization/KeyValues1/KV1BinaryReader.cs
@@ -127,8 +127,7 @@ void ReadValue(KV1BinaryNodeType type)
127
break;
128
129
case KV1BinaryNodeType.Float32:
130
- var floatValue = BitConverter.ToSingle(reader.ReadBytes(4), 0);
131
- value = new KVObject(floatValue);
+ value = new KVObject(reader.ReadSingle());
132
133
134
case KV1BinaryNodeType.ProbablyBinary:
0 commit comments