GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Guides
  • Reference
  • Blog
  • Install
  • Home
  • node:string_decoder
  • CStringDecoder
  • Bun
  • bun:bundle
  • bun:ffi
  • bun:jsc
  • bun:sqlite
  • bun:test

This view

  • Original page
  • New address

GeezerVison is showing bun-docs.vercel.app — Node.js string_decoder module | API Reference | Bun

Reference

Node.js module

string_decoder

The 'node:string_decoder' module provides the StringDecoder class, which decodes Buffer data into strings while preserving multi-byte UTF-8 and other encodings across buffer boundaries.

It ensures that decoded strings are not truncated or malformed when chunked data arrives in separate buffers.

Fully supported in Bun›

Fully implemented. 100% of Node.js's test suite passes.

Classes 1

  • class string_decoder.StringDecoder

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.