VF_GET_PROP_VALUE_BASE64(3)

πŸ“¦ version 1.13, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– vf_get_prop_value_base64 β€” the Library Functions Manual bestie πŸ’–

okay so real talk, this page is literally about ONE function and she's iconic for it. welcome to vf_get_prop_value_base64(3), no cap. πŸŽ€


✨ NAME ✨

vf_get_prop_value_base64 β€” aka vf_get_prop_value_base64(), she said her own name twice because she's that girl πŸ’…


✨ SYNOPSIS ✨

#include <../vformat/vf_iface.h>

extern const uint8_t *vf_get_prop_value_base64
(
     VF_PROP_T *p_prop,
     uint32_t *p_length
);

look at her. two params. zero drama. we love a low-maintenance queen 🫢


✨ PARAMETERS ✨

  • VF_PROP_T *p_prop β€” the property we're setting a value in. yes bestie, that's literally what it is, I'm not gonna pretend otherwise 😌
  • uint32_t *p_length β€” length of the binary data. she's gonna hand you the size through this pointer, very generous of her πŸ’–

✨ DESCRIPTION ✨

okay so what she DOES: she gets a BASE64 property. that's the whole vibe. πŸ”₯

Returns ptr, passes length via parameter. two-for-one. it's giving efficient.

so like β€” you give her the property, she gives you back a pointer, and the length comes back through p_length because pointers are how we do things around here. no cap. ✨


✨ RETURNS ✨

Ptr to data. that's it, that's the return. short king of a return value πŸ‘‘

ngl if you were hoping for a whole paragraph of lore here, there isn't one β€” ptr to data, periodt. πŸ’€

✨ SEE ALSO ✨

the whole friend group, fr fr, go say hi to all of them πŸ¦‹:

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_set_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)


and that's the whole page bestie, you ate it, go read a property or something 🌈✨

this lil masterpiece was brought to you by c2man and vf_iface.h, dated 30 April 2003 β€” yes she's vintage, yes she still serves, we stan a legacy icon πŸŽ€πŸ’œ

πŸ“¦ where this page comes from