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
]
val isBuffer : 'a -> bool
val fromString : ?encoding:encoding -> string -> t
val toString : ?encoding:encoding -> t -> string
val concat : t array -> t