You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to encode some objects.. but int64 fields insists in turn to Object with high, low and unsigned properties.. server is nothing expecting int64 with this format.. Already removed Long.js
The text was updated successfully, but these errors were encountered:
In JavaScript there are no full 64 bit numbers, that's why ProtoBuf.js uses Long.js. Without Long.js, you cannot use int64 at all. To convert a Long to a JavaScript number (with possible loss of information if the value is too large) you may use Long#toNumber() or, to convert it to a numerical string which is safe, Long#toString().
Im trying to encode some objects.. but int64 fields insists in turn to Object with high, low and unsigned properties.. server is nothing expecting int64 with this format.. Already removed Long.js
The text was updated successfully, but these errors were encountered: