import * as frugal from "https://deno.land/x/frugal@0.3.0/dep/std/io.ts";
Utilities for working with Deno's readers, writers, and web streams.
Reader
and Writer
interfaces are deprecated in Deno, and so many of these
utilities are also deprecated. Consider using web streams instead.
Classes
A variable-sized buffer of bytes with | |
BufReader implements buffering for a Reader object. | |
BufWriter implements buffering for an deno.Writer object. If an error occurs writing to a Writer, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.Writer. | |
BufWriterSync implements buffering for a deno.WriterSync object. If an error occurs writing to a WriterSync, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.WriterSync. | |
A | |
Reader utility for combining multiple readers | |
Reader utility for strings | |
Writer utility for buffering string chunks |
Functions
Copy N size at the most. If read size is lesser than N, then returns nread | |
Read delimited bytes from a Reader. | |
Read big endian 32bit integer from BufReader | |
Read strings line-by-line from a Reader. | |
Read big endian 64bit long from BufReader | |
Read big endian 16bit short from BufReader | |
Read delimited strings from a Reader. | |
Slice number into 64bit big endian byte array |
Interfaces
Result type returned by of BufReader.readLine(). |