Skip to content

Support concat without buffer#70

Open
jimmywarting wants to merge 1 commit into
kriszyp:masterfrom
jimmywarting:de-buffer
Open

Support concat without buffer#70
jimmywarting wants to merge 1 commit into
kriszyp:masterfrom
jimmywarting:de-buffer

Conversation

@jimmywarting

Copy link
Copy Markdown
Contributor

No description provided.

@kriszyp kriszyp left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great... but this concat isn't actually reachable because we currently throw before getting to that line for major types 2 and 3:

throw new Error('Indefinite length not supported for byte or text strings')

I think with this improved concat in place, we could now enable this (remove this throw), right?
Also would be nice to get in a test for this.
Anyway, thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants