KiokuD...rySafe(3pm)
π KiokuDB::Backend::Role::BinarySafe π
okay bestie, welcome to the 3pm section of the manual β this is the one and only KiokuDB::Backend::Role::BinarySafe, an informational role for binary-data-safe backends. it's short, it's sweet, it's giving "I'm just here to send a message" energy. π
β¨ NAME β¨
KiokuDB::Backend::Role::BinarySafe β an informational role for backends that are binary-data safe. no cap, that's the whole job description. π
πΈ VERSION πΈ
version 0.57. yes she has a number, she's official. π
π¦ SYNOPSIS π¦
so like, here's how you actually consume her. you write this in your own backend package:
package KiokuDB::Backend::MySpecialBackend;
use Moose;
use namespace::clean -except => 'meta';
with qw(KiokuDB::Backend::Role::BinarySafe);
that's it. you with her and you're in the club. π₯
π DESCRIPTION π
okay so listen. this role is informational β meaning she doesn't really do anything, she just announces a fact about you to the world. and that fact is: this backend can store arbitrary binary strings, especially utf8 data as bytes, without reinterpreting it as unicode strings when inflating. she's basically a little badge you wear that says "I don't mess up your bytes." β
and ngl, this mostly has to do with KiokuDB::Backend::Serialize variants. for example:
KiokuDB::Backend::Serialize::Storableβ binary safe β slayKiokuDB::Backend::Serialize::JSONβ not binary safe π not her fault, JSON is just like that
so if your serialize layer is the Storable kind, you get to wear the badge. if it's the JSON kind, you do not. vibe check failed, respectfully. π
π«Ά AUTHOR π«Ά
Yuval Kogman <nothingmuch@woobling.org> β the icon who wrote this. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go off, remix it, just keep the receipts. π
and that's the whole page, bestie, you ate it. π one last thing for the sign-off: this beauty was built for perl v5.34.0 and the page is dated 2022-05-23. periodt. π
β¨π
π¦ where this page comes from
- debian bookworm: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libkiokudb-perl 0.57-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms