

b64_encode $stream = $stream->b64_encode īase64 encode bytestream with "b64_encode" in Mojo::Util.

b64_decode $stream = $stream->b64_decode īase64 decode bytestream with "b64_decode" in Mojo::Util. Mojo::ByteStream implements the following methods. b my $stream = b('test123') Ĭonstruct a new scalar-based Mojo::ByteStream object. Mojo::ByteStream implements the following functions, which can be imported individually. My $stream = Mojo::ByteStream->new('foo') # Access scalar directly to manipulate bytestream

Mojo::ByteStream is a scalar-based container for bytestreams that provides a more friendly API for many of the functions in Mojo::Util. My $stream = b('foobarbaz')->b64_encode('')->say DESCRIPTION My $stream = Mojo::ByteStream->new('foo bar baz')->quote My $stream = Mojo::ByteStream->new('foo_bar_baz') Mojo::ByteStream - ByteStream SYNOPSIS use Mojo::ByteStream
