-
Notifications
You must be signed in to change notification settings - Fork 77
Introduce initial "ocapn" package #2766
New issue
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
Conversation
packages/ocapn/test/_table.js
Outdated
@@ -0,0 +1,523 @@ | |||
const sym = s => `${s.length}'${s}`; | |||
const str = s => `${s.length}"${s}`; | |||
const bts = s => `${s.length}:${s}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider assert(s.every(b => b <= 0xff))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is redundant with #2766 (comment) correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
determined correct
ocapn
package with initial codecs for OCapN messages and Passable typessyrup
package intoocapn
as we don't intend to support generic syrup parsing