bdecodeBytestringMap
import { bdecodeBytestringMap } from "https://raw.githubusercontent.com/rclarey/bt/master/mod.ts";
special case of bdecode
when we are expecting a top level key files
whose value is a map of infohashes to file info
function bdecodeBytestringMap(data: Uint8Array): Map<Uint8Array, Bencodeable> | {
failureReason: string;
};§
bdecodeBytestringMap(data: Uint8Array): Map<Uint8Array, Bencodeable> | {
[src]failureReason: string;
}§Return Type
§
Map<Uint8Array, Bencodeable> | {
[src]failureReason: string;
}