Text

Inherited: None

Description

Public Methods

uint8_t *

data ()

void

setSize (uint32_t size)

uint32_t

size () const

std::string

text ()

Static Methods

None

Methods Description

uint8_t * Text::data ()

Returns text content as a raw byte array.


void Text::setSize (uint32_t size)

Sets the new size of the text resource.

See also *size*().


uint32_t Text::size () const

Returns size of the text resource.

See also setSize().


std::string Text::text ()

Returns text content as string.