method ByteBuf.prototype.toStringimport { ByteBuf } from "https://deno.land/x/bytebuf@1.2.0/bytebuf.ts"; toString(format?: string): stringFormats to a string. Parametersoptionalformat: stringThe string format. ReturnsstringThe string.