# ***********************************************
#
# !!!! DO NOT EDIT !!!!
#
# This file was auto-generated by Build.PL.
#
# ***********************************************
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
=encoding utf8
=head1 NAME
Clownfish::Blob - Immutable buffer holding arbitrary bytes.
=head1 SYNOPSIS
my $blob = Clownfish::Blob->new($byte_string);
my $byte_string = $blob->to_perl;
=head1 DESCRIPTION
=head1 CONSTRUCTORS
=head2 new
my $blob = Clownfish::Blob->new($byte_string);
Create a Blob containing the passed-in bytes.
=head1 METHODS
=head2 get_size
my $int = $blob->get_size();
Return the number of bytes held by the Blob.
=head2 compare_to
my $int = $blob->compare_to($other);
Indicate whether one Blob is less than, equal to, or greater than
another. The byte contents of the Blobs are compared
lexicographically. Throws an exception if C<other> is not a Blob.
Returns: 0 if the Blobs are equal, a negative number if C<self> is less
than C<other>, and a positive number if C<self> is greater than C<other>.
=head2 clone
my $result = $blob->clone();
Return a clone of the object.
=head1 INHERITANCE
Clownfish::Blob isa L<Clownfish::Obj>.
=cut