Bifcode

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


        # 7b 55 35 3a 62 6f 6f 6c 73 2c 5b 30    {U5:bools,[0
        # 31 5d 55 35 3a 62 79 74 65 73 2c 42    1]U5:bytes,B
        # 32 3a ff  0 2c 55 35 3a 66 6c 6f 61    2:..,U5:floa
        # 74 2c 46 31 2e 32 35 65 2d 35 2c 55    t,F1.25e-5,U
        # 37 3a 69 6e 74 65 67 65 72 2c 49 32    7:integer,I2
        # 35 2c 55 35 3a 75 6e 64 65 66 2c 7e    5,U5:undef,~
        # 55 34 3a 75 74 66 38 2c 55 32 3a c3    U4:utf8,U2:.
        # 9f 2c 7d                               .,}

        my $decoded = decode_bifcode $bifcode;

DESCRIPTION
    Bifcode implements the *bifcode* serialisation format, a mixed
    binary/text encoding with support for the following data types:

    *   Primitive:

        *   Undefined(null)

        *   Booleans(true/false)

lib/Bifcode.pm  view on Meta::CPAN


    # 7b 55 35 3a 62 6f 6f 6c 73 2c 5b 30    {U5:bools,[0
    # 31 5d 55 35 3a 62 79 74 65 73 2c 42    1]U5:bytes,B
    # 32 3a ff  0 2c 55 35 3a 66 6c 6f 61    2:..,U5:floa
    # 74 2c 46 31 2e 32 35 65 2d 35 2c 55    t,F1.25e-5,U
    # 37 3a 69 6e 74 65 67 65 72 2c 49 32    7:integer,I2
    # 35 2c 55 35 3a 75 6e 64 65 66 2c 7e    5,U5:undef,~
    # 55 34 3a 75 74 66 38 2c 55 32 3a c3    U4:utf8,U2:.
    # 9f 2c 7d                               .,}

    my $decoded = decode_bifcode $bifcode;

=head1 DESCRIPTION

B<Bifcode> implements the I<bifcode> serialisation format, a mixed
binary/text encoding with support for the following data types:

=over

=item * Primitive:



( run in 0.679 second using v1.01-cache-2.11-cpan-26ccb49234f )