Closed chshersh closed 4 years ago
PRs welcome.
@chshersh I'm addressing this in #10. My counterproposal is that the signature for decodes should change entirely to be flush with the APIs of the other base encoding libraries which provide offsets pointing at the invalid chars, instead of slices of the bytestring. The end result will be
decode :: ByteString -> Either String ByteString
@emilypi Thanks for working on this!
@chshersh released v1.0.0.0 to hackage 😄
This function is convenient. Here is the sample implementation of this function: