Canon Makernotes is, sure, array of binary data pointed by 0x927c EXIF tag.
The problem with Canon is camera specific makernotes, so you'll need to process every variant
(Canon CameraInfo1D Tags, Canon CameraInfo1DmkII Tags, etc, etc,etc)
For different vendors you'll need to add more vendors processing.
Exiftool already do this camera/vendor specific processing.
Canon Makernotes is, sure, array of binary data pointed by 0x927c EXIF tag.
The problem with Canon is camera specific makernotes, so you'll need to process every variant
(Canon CameraInfo1D Tags, Canon CameraInfo1DmkII Tags, etc, etc,etc)
For different vendors you'll need to add more vendors processing.
Exiftool already do this camera/vendor specific processing.