ULOS Manual Pages - mtar(3) | Back
NAME
  mtar - MiniTel ARchive library
DESCRIPTION
  mtar, the MiniTel ARchive, is a simple archive format created by Izaya.  It is the same format used for the ULOS installer image.  See mtar(5) for details.
FUNCTIONS
  archive(base:FILE*): stream:table
    Returns a stream that, when fed a filename and file data, will write the file header to the provided file stream.
  unarchive(base:FILE*): iterator:function(): name:string, read:function, remain:number.
  The following methods are available on the stream object:
    writefile(name:string, data:string): boolean
      Writes a header for the provided file name and file data to the base file stream, along with the file data.
    close(): boolean
      Closes the base file stream.
COPYRIGHT
  ULOS Core Libraries copyright (c) 2021 Ocawesome101 under the DSLv2.
REPORTING BUGS
  Bugs should be reported at https://github.com/ocawesome101/oc-ulos/issues.