Skip to content

Commit

Permalink
Fix FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Jun 9, 2020
1 parent 875ebcd commit e23bbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/users/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ repeated的数值类型在proto v2里默认是 ``[ packed = false ]`` 而在prot
详见 :ref:`output-format-proto v2 and proto v3` 。

为什么在proto里定义的是一个无符号(unsigned)类型(uint32、uint64等),实际输出的UE代码是有符号(signed)的(int32/int64)?
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------

因为有一些语言是没有无符号(unsigned)类型的,为了统一数据类型,我们统一转换为有符号类型,转换方式和protobuf的java版SDK保持一致。如果需要使用大于int32最大值的uint32类型,请用int64代替。

Expand Down

0 comments on commit e23bbde

Please sign in to comment.