Module Node_buffer

module Node : sig ... end

Node Buffer API

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