Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

char-buffer

schnittstabil7.1kMIT2.0.0TypeScript support: included

Collect CharCodes and convert them to string.

Char, CharCode, ASCII, Buffer, CharBuffer, NodeBuffer, StringArrayBuffer, StringBuffer, TypedArrayBuffer, TypedArray, Uint16Array, Array, String

readme

char-buffer Build Status Image Coverage Status Built with Grunt XO code style

Collect CharCodes and convert them to a string.

Install

$ npm install --save char-buffer

Usage

const CharBuffer = require('char-buffer');

// Create a CharBuffer
var buffer = new CharBuffer();

// Append a CharCode:
buffer.append(102);

// Append two more CharCodes:
buffer.append(111).append(111);

// Output 'foo':
console.log(buffer.toString());

Documentation

  • See API for thorough documentation.
  • caesar-salad uses char-buffer for Caesar, Vigenere and ROT encryption.

License

MIT © Michael Mayer