Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::midi::PeChunk Struct Reference

A single PE chunk, after Mcoded7 decode of header + payload. More...

#include <midi_ci_pe.hpp>

Public Attributes

uint8_t request_id = 0
uint16_t total_chunks = 0
uint16_t chunk_number = 0
 1-indexed
std::string header_json
 Decoded JSON UTF-8.
std::vector< uint8_t > payload
 Decoded resource bytes.

Detailed Description

A single PE chunk, after Mcoded7 decode of header + payload.

Caller-owned UTF-8 strings; decoded JSON header is a string the caller can parse with choc::json (already vendored).

Member Data Documentation

◆ chunk_number

uint16_t pulp::midi::PeChunk::chunk_number = 0

1-indexed

◆ header_json

std::string pulp::midi::PeChunk::header_json

Decoded JSON UTF-8.

◆ payload

std::vector<uint8_t> pulp::midi::PeChunk::payload

Decoded resource bytes.

◆ request_id

uint8_t pulp::midi::PeChunk::request_id = 0

◆ total_chunks

uint16_t pulp::midi::PeChunk::total_chunks = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/midi/include/pulp/midi/midi_ci_pe.hpp