34 const auto numBytes = Utils::getChannel (packet[0]);
35 constexpr uint8_t maxBytes = 6;
36 jassert (numBytes <= maxBytes);
40 { { std::byte { packet.getU8<2>() },
41 std::byte { packet.getU8<3>() },
42 std::byte { packet.getU8<4>() },
43 std::byte { packet.getU8<5>() },
44 std::byte { packet.getU8<6>() },
45 std::byte { packet.getU8<7>() } } },
46 jmin (numBytes, maxBytes)