Skip to main content
Module

x/bytebuf/bytebuf.ts>ByteBuf#setString

A byte buffer for encoding and decoding binary data in JavaScript.
Latest
method ByteBuf.prototype.setString
import { ByteBuf } from "https://deno.land/x/bytebuf@1.2.0/bytebuf.ts";

Sets a string.

Parameters

byteOffset: number

The byte offset.

value: string

The string.

optional
byteEncoding: string

The byte encoding.

Returns

number

The byte length.