Skip to content
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

ArrayBuffer support #150

Closed
ingun37 opened this issue Jan 4, 2021 · 0 comments
Closed

ArrayBuffer support #150

ingun37 opened this issue Jan 4, 2021 · 0 comments

Comments

@ingun37
Copy link
Sponsor

ingun37 commented Jan 4, 2021

🚀 Feature request

Current Behavior

I wish io-ts supported ArrayBuffer as one of default codecs so I can do something like

import iots from "io-ts"
const SomeResponse = iots.type({
  bytes: iots.arrayBuffer
  status: iots.number
});

Desired Behavior

Codec for ArrayBuffer.

Suggested Solution

Who does this impact? Who is this for?

Describe alternatives you've considered

Additional context

Your environment

Software Version(s)
io-ts 2.2.13
fp-ts 2.9.3
TypeScript 4.1.3
@gcanti gcanti transferred this issue from gcanti/io-ts Jan 4, 2021
@ingun37 ingun37 closed this as completed Jan 4, 2021
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

No branches or pull requests

1 participant