import * as denoexec from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
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 | |
Transform a stream into a stream where each chunk is divided by a given delimiter. | |
Transform a stream into a stream where each chunk is divided by a newline,
be it | |
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 | |
Copies from | |
Turns a Reader, | |
Turns a ReaderSync, | |
Merge multiple streams into a single one, not taking order into account. If a stream ends before other ones, the other will continue adding data, and the finished one will not add any more data. | |
Create a | |
Create a | |
Read Reader | |
Synchronously reads Reader | |
Create a | |
Create a | |
Create a | |
Write all the content of the array buffer ( | |
Synchronously write all the content of the array buffer ( | |
Create a | |
Merge multiple streams into a single one, taking order into account, and each stream will wait for a chunk to enqueue before the next stream can append another chunk. If a stream ends before other ones, the other will continue adding data in order, and the finished one will not add any more data. | |
Converts the input into a string. Objects, Sets and Maps are sorted so as to make tests less flaky | |
Make an assertion, error will be thrown if | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that actual is not null or undefined. If not then throw. | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that actual includes expected. If not then throw. | |
Deep equality comparison used in assertions | |
Forcefully throws a failed assertion | |
Use this to stub out methods that will throw when invoked. | |
Use this to assert unreachable code. |
Interfaces
Result type returned by of BufReader.readLine(). | |