Function flatbuffers::emplace_scalar[][src]

pub fn emplace_scalar<T: EndianScalar>(s: &mut [u8], x: T)

Place an EndianScalar into the provided mutable byte slice. Performs endian conversion, if necessary.