3 ms·
i like all of these except passing a remote url to .readAllBytes(). this seems fine for coding little things on your own. but in production i would recommend i
by foolfoolz 2y ago
i like all of these except passing a remote url to .readAllBytes(). this seems fine for coding little things on your own. but in production i would recommend instead setting up an http client with the settings you want, calling a get merit that returns an input stream, and then calling .readAllBytes()