Class Raw

The Raw Layer, inherits from Base_Object

Methods

Raw:new (data) Constructor for a Raw Layer
Raw:data ([data]) Get/Set the payload data for this layer
Raw:bytes ([bytes]) Get/Set the payload bytes for this layer


Methods

Raw:new (data)
Constructor for a Raw Layer

Parameters:

  • data string the data for this layer

Returns:

    Raw a new Raw object

Usage:

    Raw.new('Hello World!')
Raw:data ([data])
Get/Set the payload data for this layer

Parameters:

Returns:

    string data
Raw:bytes ([bytes])
Get/Set the payload bytes for this layer

Parameters:

  • bytes table a list of bytes (optional)

Returns:

    table bytes
generated by LDoc 1.4.3 Last updated 2015-05-04 17:26:47