data.buffer.gearbox


template <typename From, typename To>
inline 
void
gearbox(
    From input,
    bool start,
    bool last,
    (To, bool, count_t<bytesizeof(To)>) -> void callback
    ) ยงsource

A mechanism for converting values among differing types.

Parameters

  • typename From
    

    Type of the value to be converted.

  • typename To
    

    Type of the result of the conversion.