The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parrot::String - Parrot String

SYNOPSIS

  use Parrot::String;

DESCRIPTION

Parrot::String represents a Parrot string.

Class Methods

new($flags, $encoding, $type, $size, $data)

Returns a new instance of Parrot::String.

Instance Methods

flags($flags)
flags()

Sets/gets the string's flags.

encoding($encoding)
encoding()

Sets/gets the string's encoding.

type($type)
type()

Sets/gets the string's type.

size($size)
size()

Sets/gets the string's size.

data($data)
data()

Sets/gets the string's data.

unpack($string)

Unpack from the string and return the number of characters that should be removed from the packed string.

packed_size()

Returns the packed size of the string.

pack()

Packs the string.

SEE ALSO

Parrot::Types
Parrot::Key

HISTORY

Author: Gregor N. Purdy <gregor@focusresearch.com>