feat: streams based Buffer - #1970
Conversation
|
What's the use case for this? Why create a new class with the same name instead of adding this functionality to existing |
|
@bartlomieju well, we want various Deno.Reader/Writer based APIs to be written/ported to streams. These should be in their own file so there in no dependency on the aforementioned APIs |
@crowlKats Does this also allow for browser compatibility? If so, please mark it as such. |
|
@jsejcksn nope, once again, typescript is behind the times with outdated typings |
@crowlKats There's a tracking issue for compat issues caused by outdated native TS types here. Will you add any candidate modules there? |
|
@jsejcksn done |
Equivalent of
std/io/buffer.ts'sBufferbut with streams