Example #1
0
void Field::set_byte_string(
    ConstByteString value,
    const char* arg,
    size_t arg_length
) const
{
    Internal::check_type(BYTE_STRING, type());
    Internal::set_value(
        ib(), ib_ftype_bytestr_in(value.ib()),
        arg, arg_length
    );
}
Example #2
0
Field Field::create_byte_string(
    MemoryPool       pool,
    const char*      name,
    size_t           name_length,
    ConstByteString  value
)
{
    return Internal::create_field(
        pool,
        name, name_length,
        Field::BYTE_STRING,
        ib_ftype_bytestr_in(value.ib())
    );
}
Example #3
0
void Field::set_byte_string(ConstByteString value) const
{
    Internal::check_type(BYTE_STRING, type());
    Internal::set_value(ib(), ib_ftype_bytestr_in(value.ib()));
}