Extract binary-as-string decoder
Allow type encoding customization