char-buffer

Collect CharCodes and convert them to string.


Keywords
Char, CharCode, ASCII, Buffer, CharBuffer, NodeBuffer, StringArrayBuffer, StringBuffer, TypedArrayBuffer, TypedArray, Uint16Array, Array, String
License
MIT
Install
bower install char-buffer

Documentation

char-buffer Build Status Image Coverage Status 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.

Related

  • caesar-salad uses char-buffer for Caesar, Vigenere and ROT encryption.

License

MIT © Michael Mayer