Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mysql2/lib/packets/packet.ts>Packet.lengthCodedStringLength

MySQL client for Deno with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression much more
Latest
method Packet.lengthCodedStringLength
import { Packet } from "https://deno.land/x/mysql2@v1.0.6/lib/packets/packet.ts";

Parameters

str: string
optional
encoding: string