Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decoders: use sane data conversion defaults.
In the general case, returning data as bytes isn't particularly helpful. While it's true that in some advanced cases, converting data requires additional information that the library doesn't have access to, I think it's better for the basic case to work out of the box while providing enough customization capability for more advanced use cases to still be practical. This change is straining against the load-bearing copy-paste technique, which I don't like, but I'll save an attempt to extract the common functionality until later.
- Loading branch information
Showing
3 changed files
with
110 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters