This would be good for three reasons: - Remove the cgo requirement - Improve performance significantly, since the decoded data won't have to be copied from C land. - Understand it well enough to write a generalized function that takes a Reader.
This would be good for three reasons: