-
Notifications
You must be signed in to change notification settings - Fork 18
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
Hex encoding support (#66) #108
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix undefined destructuration errors
Fix undefined varint for SizeOf and Write
what is the use case? |
Avoid OOM crashes when parsing arrays with abnormally large sizes
As described in #66 |
* support writing BigInts * add buffer offset parameter to parsePacketBuffer * standard fix * lint fix, update doc * use BigIntExtended, update to node 10 * simplify BigIntExt * fix BigIntExt valueOf * simplify bigint further * valueOf -> instanceof * remove unnecessary instanceof BigIntExt * use typeof * cleanup
* compiler: convert map string values to numeric/bool * expose CompiledProtodef * const -> let for some compiler structures This allows the variables to be updated later on by parameterizable types * Keep values of mapper type if not matched If a mapper type isn't mapped, default to the value itself to avoid losing data when reading rather than returning undefined * document CompiledProtodef Co-authored-by: Romain Beaumont <[email protected]>
…zing (#124) * compiler-utils: Allow json to be converted to Buffer object Allows JSON stringified buffers to be converted to Buffer when serializing * add buffer conversion to interpreter
* Add context variables to compiler * new `addVariable` to ProtodefCompiler, `setVariable` to CompiledProtodef * / at top of switch field will notate a context variable * add reserved field * add variables to interpreter, add example * add to API docs * update protodef submodule * update protodef submodule * test tests * Update package.json Co-authored-by: Romain Beaumont <[email protected]>
* Show BigInt instead of BigIntExtended when using console.log hashedSeed: BigIntExtended(2) [ -1252218895, -971237565 ] -> hashedSeed: -5378239198134528189n * lint
Github Desktop fucked up everything by causing mess with commits, re-opening PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.