Module

Erl.Data.Binary.IOData

Package
erl-binary
Repository
purerl/purescript-erl-binary

Representation of Erlang iodata(). Some duplication of functions from IOList to avoid unnecessary conversions in common cases.

#fromIOList Source

fromIOList :: IOList -> IOData

Coerce an IOList to IOData (no-op)

#fromBinary Source

fromBinary :: Binary -> IOData

Coerce a Binary to IOData (no-op)

#toBinary Source

toBinary :: IOData -> Binary

Collapse an iodata to binary

#concat Source

concat :: List IOData -> IOData

Concatenate a list of IOData to an IOData. This is a no-op O(1).