Closed maotovisk closed 1 year ago
I'm building a cross-platform hitsound copier and i got into some undefined behaviour after encoding a beatmap with video.
BeatmapEventSection
encoder.encodeToString()
Code used to encode it.
const hitsoundedBeatmap = beatmapsTo.map((beatmap) => copyHitsounds(beatmapFrom, beatmap, options) ); const encoder = new BeatmapEncoder(); const encodedHitsoundedBeatmaps = hitsoundedBeatmap.map((beatmap) => encoder.encodeToString(beatmap) );
I'm building a cross-platform hitsound copier and i got into some undefined behaviour after encoding a beatmap with video.
BeatmapEventSection
right before callingencoder.encodeToString()
Code used to encode it.