Function ouster::sdk::core::uint_view
Defined in File field.h
Function Documentation
-
FieldView ouster::sdk::core::uint_view(const FieldView &other)
Acquire a uintXX_t reinterpreted view of the matching type size.
Useful for memory related operations like parsing and compression.
WARNING: reinterprets the type skipping type safety checks, exercise caution
- Throws:
std::invalid_argument – if
otheris not an array viewstd::invalid_argument – if
otheris an array view of custom POD types that do not match any uintXX_t dimensions
- Parameters:
other – [in] view to interpret
- Returns:
reinterpreted view of uint8_t, uint16_t, uint32_t or uint64_t type