Module
Node.Buffer
- Package
- purescript-node-buffer
- Repository
- purescript-node/purescript-node-buffer
#fromString Source
fromString :: String -> Encoding -> Effect Buffer
Creates a new buffer from a string with the specified encoding, sized to match the string.
#fromArrayBuffer Source
fromArrayBuffer :: ArrayBuffer -> Effect Buffer
Creates a buffer view from a JS ArrayByffer without copying data.
#toArrayBuffer Source
toArrayBuffer :: Buffer -> Effect ArrayBuffer