# cp.nib

Provides support for NIB files.


# Submodules


# API Overview

Methods - API calls which can only be made on an object returned by a constructor

  • fromBytes

# API Documentation

# Methods

# fromBytes

Signature cp.nib.fromBytes(data) -> table | nil, string
Type Method
Description Unarchives the given string of bytes into a table, if it is a valid NIBArchive.
Parameters
  • data - The string of bytes to unarchive.
Returns
  • The table containing the unarchived data, or nil if the archive is not a valid NIBArchive.
  • The string error message, if any.
Notes None
Examples None
Source src/extensions/cp/nib/archiver.lua line 358