x/oak/test_deps.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
method Buffer.prototype.readSync
import { Buffer } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/test_deps.ts?p=prototype.readSync&s=Buffer";

Reads the next p.length bytes from the buffer or until the buffer is drained. Returns the number of bytes read. If the buffer has no data to return, the return is EOF (null).

Parameters

p: Uint8Array[src]

Returns

number | null[src]