dekarrin / rezi

REZI - Rarefied Encoding (Compressible) for Interchange
MIT License
0 stars 0 forks source link

Add PanicOnError to Writer, Reader #82

Open dekarrin opened 10 months ago

dekarrin commented 10 months ago

Not having these simple functions means error checking is required and that rezi.MustX functions used directly are more convenient.

Having a HandleErrors or similar attribute on the Reader and Writer means caller could choose the error handling method.