Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to open an image file of unknown resolution, you might want the library to allocate and return a byte array matching the resolution of the image.

Oh, you could design a more complex API to avoid that - but I'm a programmer of very average ability, ask me to juggle too many buffers and struts and I'll probably introduce a buffer overflow by mistake.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: