Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

KiokuDB::Backend::Role::BinarySafe - An informational role for binary data safe backends.

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This backend is an informational role for backends which can store arbitrary binary strings, especially
       utf8 data as bytes (without reinterpreting it as unicode strings when inflating).

       This mostly has to do with KiokuDB::Backend::Serialize variants (for example
       KiokuDB::Backend::Serialize::Storable is binary safe, while KiokuDB::Backend::Serialize::JSON is not).

Name

       KiokuDB::Backend::Role::BinarySafe - An informational role for binary data safe backends.

Synopsis

           package KiokuDB::Backend::MySpecialBackend;
           use Moose;

           use namespace::clean -except => 'meta';

           with qw(KiokuDB::Backend::Role::BinarySafe);

Version

       version 0.57

See Also