lib

lib:io

I/O function library

meta

docs

funcs

ioAppend

Convert a handle to append mode

ioCharset

Configure an I/O handle to use the specified charset

ioCopy

Copy a file or directory to the new specified location

ioCrc

Generate a cycle reduancy check code as a Number

ioCreate

Create a directory or empty file with the given I/O handle

ioDelete

Delete a file or a directory as mapped by the given I/O handle

ioDigest

Generate a one-way hash of the given I/O handle

ioDir

Read a directory listing, return a grid with cols

ioEachCsv

Iterate the rows of a CSV file (comma separated values) and callback the given function with two parameters

ioEachLine

For each line of the given source stream call the given function with two parameters

ioExport

Export a view to the given file handle - see Export

ioFromBase64

Return an I/O handle to decode from a base64 string

ioGzip

Wrap an I/O handle to GZIP compress/uncompress

ioHmac

Generate an HMAC message authentication as specified by RFC 2104

ioInfo

Get information about a file handle and return a Dict with the same tags as ioDir()

ioMove

Move or rename a file or directory

ioPbk

Generate a password based cryptographic key

ioRandom

Generate randomized series of bytes which can be used as an input I/O handle

ioReadCsv

Read a CSV (comma separated values) file into memory as a Grid

ioReadJson

Read a JSON file into memory

ioReadJsonGrid

Read a JSON file formatted as a standardized Haystack grid into memory

ioReadLines

Read an I/O handle into memory as a list of string lines

ioReadStr

Read an I/O handle into memory as a string

ioReadTrio

Read a Trio file into memory as a list of Dicts

ioReadXeto

Read a Xeto data file into memory as a Haystack data type

ioReadZinc

Read a Zinc file into memory as a Haystack data type

ioSkip

Apply a skipping operation to an input I/O handle

ioStreamCsv

Read a stream of dicts from a comma separated value file

ioStreamLines

Read a stream of lines

ioToBase64

Encode an I/O handle into a base64 string

ioToHex

Encode an I/O handle into hexidecimal string

ioWriteCsv

Write a grid to a CSV (comma separated values) file

ioWriteExcel

Write an Excel XLS file, where val may be

ioWriteHtml

Write an Axon data structure to HTML

ioWriteJson

Write an Axon data structure to JSON

ioWriteJsonLd

Write an Axon data structure to RDF JSON-LD format

ioWriteLines

Write a list of string lines separated with "\n" character

ioWritePdf

Render data to a PDF file

ioWriteStr

Write a string to an I/O handle

ioWriteSvg

Render data to an SVG file

ioWriteTrio

Write dicts to a Trio file

ioWriteTurtle

Write an Axon data structure to RDF Turtle format

ioWriteXeto

Write value to a Xeto text format file

ioWriteXml

Write a grid to an XML file

ioWriteZinc

Write a Grid to the Zinc format

ioZipDir

Read a zip file's entry listing, return a grid with cols

ioZipEntry

Return a I/O handle which may be used to read from a zip entry within a zip file