data

    Contains the audio data in bytes.

    AudioStreamMP3.swift:20
    final var data: PackedByteArray { get set }

    You can load a file without having to import it beforehand using the code snippet below. Keep in mind that this snippet loads the whole file into memory and may not be ideal for huge files (hundreds of megabytes or more).

    Other members in extension

    Type members

    Instance members