pub unsafe fn set_any_field_integer(
buf: &mut [u8],
table_loc: usize,
field: &Field<'_>,
v: i64,
) -> FlatbufferResult<()>Expand description
Sets any table field with the value of a 64-bit integer. Returns error if the field is not originally set or is with non-scalar value or the provided value cannot be cast into the field type.
ยงSafety
[buf] must contain a valid root table and valid offset to it.