Text

Inherited: Resource

Description

Public Methods

int

data ()

void

setSize (int size)

int

size () const

std::string

text ()

Static Methods

None

Methods Description

int Text::data ()

Returns text content as a raw byte array.


void Text::setSize (int size)

Sets the new size of the text resource.

See also *size*().


int Text::size () const

Returns size of the text resource.

See also setSize().


std::string Text::text ()

Returns text content as a tring.