
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@bluelovers/array-buffer-to-string
Advanced tools
Convert ArrayBuffer to string or Buffer with encoding support / 將 ArrayBuffer 轉換為字串或 Buffer,支援編碼
Convert ArrayBuffer to string or Buffer with encoding support. 將 ArrayBuffer 轉換為字串或 Buffer,支援編碼。
yarn add @bluelovers/array-buffer-to-string
yarn-tool add @bluelovers/array-buffer-to-string
yt add @bluelovers/array-buffer-to-string
pnpm add @bluelovers/array-buffer-to-string
npm install @bluelovers/array-buffer-to-string
import { arrayBufferToString, arrayBufferToBuffer } from '@bluelovers/array-buffer-to-string';
// Convert ArrayBuffer to string
const buffer = new ArrayBuffer(8);
const str = arrayBufferToString(buffer, 'utf-8');
// Convert ArrayBuffer to Node.js Buffer
const nodeBuffer = arrayBufferToBuffer(buffer, 'utf-8');
import { arrayBufferToString, arrayBufferToBuffer } from '@bluelovers/array-buffer-to-string/iconv';
// Convert with encoding detection
const str = arrayBufferToString(buffer, 'utf-8', 'auto');
arrayBufferToString(buf, encoding?, from?)Converts ArrayBuffer to string. 將 ArrayBuffer 轉換為字串。
buf: Source ArrayBuffer, number array, or Uint8Arrayencoding: Target encoding (default: 'utf-8')from: Source encoding (optional)arrayBufferToBuffer(buf, encoding?, from?)Converts ArrayBuffer to Node.js Buffer. 將 ArrayBuffer 轉換為 Node.js Buffer。
buf: Source ArrayBuffer, number array, or Uint8Arrayencoding: Target encoding (default: 'utf-8')from: Source encoding (optional)FAQs
Convert ArrayBuffer to string or Buffer with encoding support / 將 ArrayBuffer 轉換為字串或 Buffer,支援編碼
We found that @bluelovers/array-buffer-to-string demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.