method ByteBuf.prototype.setStringimport { ByteBuf } from "https://deno.land/x/bytebuf@1.2.0/bytebuf.ts"; setString(byteOffset: number,value: string,byteEncoding?: string,): numberSets a string. ParametersbyteOffset: numberThe byte offset. value: stringThe string. optionalbyteEncoding: stringThe byte encoding. ReturnsnumberThe byte length.