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
It will be good if parse method returned Buffer object ({ any: <Buffer ...> in the example, which can be parsed itself too) to be consistent with serialize api. Is this possible?
Example:
@0xdbb9ad1f14bf0b36; # unique file ID, generated by `capnp id`structPerson {
any @0:AnyPointer;
}
structDate {
year @0:Int16;
month @1:UInt8;
day @2:UInt8;
}
Hi Kenton,
It seems that capnp-message with AnyPointer value can be serialized, but can't be parsed.
It will be good if parse method returned Buffer object (
{ any: <Buffer ...>
in the example, which can be parsed itself too) to be consistent with serialize api. Is this possible?Example:
Output is:
The text was updated successfully, but these errors were encountered: