Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/io/mod.ts>readDelim

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readDelim
Re-export
Deprecated
Deprecated

(will be removed after 1.0.0) Use the Web Streams API instead.

import { readDelim } from "https://deno.land/std@0.220.0/io/mod.ts";

Read delimited bytes from a Reader.

Parameters

reader: Reader
delim: Uint8Array

Returns

AsyncIterableIterator<Uint8Array>