UNPKG

@stryke/convert

Version:

A utility package that helps convert between different data types.

9 lines (8 loc) 223 B
import type { Buffer } from "node:buffer"; /** * Converts a buffer to a string. * * @param buf - The buffer to convert. * @returns The converted string. */ export declare const bufferToString: (buf: Buffer) => string;