Extensible Binary Meta Language (EBML) is a generalized file format for any kind of data, aiming to be a binary equivalent to XML. It provides a basic framework for storing data in XML-like tags. It was originally developed for the Matroska audio/video container format.
Source: https://en.wikipedia.org/wiki/Extensible_Binary_Meta_Language
Already existing Go implementations: