Class String

Class Documentation

class peafowl::String

A string as represented by peafowl.

Public Functions

String()

Constructs an empty string.

String(pfwl_string_t string)

Copy constructor.

Parameters
  • string: Field to be copied.

const unsigned char *getValue() const

Returns the buffer containing the protocol field.

Return

The buffer containing the protocol field.

size_t getLength() const

Returns the length of the buffer.

Return

The length of the buffer.