We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问负数是不是不支持?测试发现float和double都不支持 OutputStream.cs public void WriteFloat(int fieldIndex, float value) { if (value < float.Epsilon)//这里直接返回了 { return; }
WriteTag(fieldIndex, WireFormat.WireType.Fixed32); CheckBuffer(4); if(value < 0){ value = value; } FastBitConverter.GetBytes(_buffer, _pos, value); _pos += 4; }
The text was updated successfully, but these errors were encountered:
发现已经修复了 手头版本不是最新的 抱歉。
Sorry, something went wrong.
可以的话打一个最新版本的tag/release 2.0.0有问题
No branches or pull requests
请问负数是不是不支持?测试发现float和double都不支持
OutputStream.cs
public void WriteFloat(int fieldIndex, float value)
{
if (value < float.Epsilon)//这里直接返回了
{
return;
}
The text was updated successfully, but these errors were encountered: