Module Node.Buffer

Node Buffer API

type t = Node.buffer;
type encoding = [
  1. | `ascii
  2. | `utf8
  3. | `utf16le
  4. | `usc2
  5. | `base64
  6. | `latin1
  7. | `binary
  8. | `hex
];
let isBuffer: 'a => bool;
let fromString: ?encoding:encoding => string => t;
let toString: ?encoding:encoding => t => string;
let concat: array(t) => t;