Hi Chris, On Wed, Jan 18, 2017 at 6:47 AM, <[email protected]> wrote:
> Hello there -- I have an application that makes use of > expectedSizeInWordsFromPrefix() from serialize.h. I notice that this > function wasn't present in the last tagged release (0.5.3). Is there any > likelihood of a new release with this in it in the near future? > We're slowly moving towards a new release. I keep promising timeframes and not hitting them, though. :/ Possibly in February? > Also, is there any comparable way to query whether a supposed message > prefix is in fact a valid prefix at all? > The prefix is a 32-bit count of segments followed by the 32-bit size of each segment. As it turns out, any sequence of bits could in theory be a valid prefix. That said, if expectedSizeInWordsFromPrefix() returns a number that seems wildly large, then you can probably guess that the prefix is invalid. -Kenton -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/capnproto.
