25namespace juce::universal_midi_packets
47 View() noexcept = default;
50 explicit View (const uint32_t* data) noexcept : ptr (data) {}
67 const uint32_t& operator[] (
size_t index) const noexcept {
return ptr[index]; }
78 bool operator== (
const View& other)
const noexcept {
return ptr == other.ptr; }
81 bool operator!= (
const View& other)
const noexcept {
return ! operator== (other); }
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...