Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Export Decoder and Encoder for direct usage #45

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

Merged
sergeyzenchenko merged 1 commit into master from export_decoder_encoder
May 30, 2019

Conversation

Copy link
Collaborator

@sergeyzenchenko sergeyzenchenko commented May 30, 2019

In some cases Decoder/Encoder need to be used directly without wrapper functions. For example in our project we have custom format that consist of
binary with:

  • number
  • number
  • array
  • number
  • binary

and this structure can't be parsed or formed using regular functions, but it can be easily done by using Decoder/Encoder directly.

Copy link
Collaborator Author

@gfx what do you think about it?

Copy link

codecov-io commented May 30, 2019
edited
Loading

Codecov Report

Merging #45 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@
## master #45 +/- ##
==========================================
+ Coverage 91.46% 91.48% +0.02% 
==========================================
 Files 14 14 
 Lines 808 810 +2 
 Branches 170 170 
==========================================
+ Hits 739 741 +2 
 Misses 49 49 
 Partials 20 20
Impacted Files Coverage Δ
src/index.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e3f706...dd3ae57. Read the comment docs.

Copy link
Member

gfx commented May 30, 2019

The reason why they are not exported is just their interfaces are not stable yet and there are no use cases suggested, but if you need them, it's time to export them.

LGTM

Copy link
Collaborator Author

thanks!

@sergeyzenchenko sergeyzenchenko deleted the export_decoder_encoder branch May 30, 2019 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@gfx gfx gfx approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /