VF_SET_PROP_VALUE_BASE64(3)
π vf_set_prop_value_base64 β bestie edition π
okay so. this is vf_set_prop_value_base64(3), a lil library function from vf_iface.h (the ../vformat/ one, iykyk). she's the base64-flavoured sibling of vf_set_prop_value, and she is here to drop binary data straight into a property. slay.
β¨ SYNOPSIS β¨
#include <../vformat/vf_iface.h>
extern bool_t vf_set_prop_value_base64
(
VF_PROP_T *p_prop,
const uint8_t *p_data,
uint32_t length,
bool_t copy
);
like yes, four args, and every single one of them matters. no skipping. π
π PARAMETERS π
VF_PROP_T *p_propβ the property we're setting a value in. that's the target, the moment, the main character. πconst uint8_t *p_dataβ pointer to the binary data. raw bytes, no vibes filtered. π§uint32_t lengthβ length of the binary data. she needs to know exactly how many bytes we're talking about, no guessing fr fr.bool_t copyβ copy or keep pointer. this is the "do you want a whole new copy of this or are we just holding hands with the original pointer" question. π
πΈ DESCRIPTION πΈ
Set the value of a property.
...and that's genuinely the whole description, bestie. iconic brevity. she sets the value of a property. base64-style. periodt.
β RETURNS β
TRUE <=> set successfully.
(that <=> is doing a lot of heavy lifting and it means what it always means: if and only if. so TRUE back = it worked, and anything else = it did not. vibe check accordingly. π)
π¦ SEE ALSO π¦
the whole friend group showed up, and we are obsessed:
vf_parse_init(3), vf_parse_text(3), vf_parse_end(3), vf_read_file(3), vf_write_file(3), vf_get_next_object(3), vf_create_object(3), vf_get_object_type(3), vf_get_property(3), vf_get_property_ex(3), vf_get_next_property(3), vf_get_prop_value(3), vf_set_prop_value(3), vf_get_prop_value_string(3), vf_get_prop_name_string(3), vf_set_prop_name_string(3), vf_get_prop_name(3), vf_get_prop_value_object(3), vf_set_prop_value_object(3), vf_set_prop_value_string(3), vf_get_prop_value_base64(3), vf_set_property_from_file(3), vf_delete_object(3), vf_delete_prop(3), vf_find_prop_qual_index(3), vf_is_modified(3), vf_find_charset(3), vf_date_string_to_time(3), vf_period_string_to_time(3), vf_period_time_to_string(3), vf_set_prop_value_time(3), vf_get_prop_value_time(3)
ngl the whole squad is here, so if you ever need to parse, read, write, get, set, delete, or time-stamp a property, there's a friend for that. π«Ά
and that's the page!! this one's from c2man vf_iface.h, dated 30 April 2003 β yes she's an elder but she still ate, and this manual page is vf_set_prop_value_base64(3). bye bestie, go set some values πβ¨ππ¦πΈπ
πβπ
π¦ where this page comes from
- debian bookworm: libvformat-dev 1.13-12 Β· LGPL-2.1-or-later
- ubuntu jammy: libvformat-dev 1.13-12build2 Β· LGPL-2.1-or-later
- ubuntu noble: libvformat-dev 1.13-12.1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms