Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

bencode

import { bencode } from "https://raw.githubusercontent.com/rclarey/torrent/master/mod.ts";

Encode data into a byte array suitable for transmitting

function bencode(data: Bencodeable): Uint8Array;
§
bencode(data: Bencodeable): Uint8Array
[src]

§Parameters

§Return Type

§
Uint8Array
[src]