Module Node_buffer

module Node: { ... };

Node Buffer API

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