You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Bojan Smojver <bo...@binarix.com> on 2001/09/19 10:47:10 UTC

[PATCH] TC 3.3: DependClassLoader: readFully, version 2

Here is commented and slightly reworked readFully(). It should do
(hopefully) the same thing as the old one but (hopefully again) with a
bit more fluff for the uninitiated like me.

Do you guys think that this method can be put into some sort of
'utility' package? It seems like something generally useful (ie. read a
file into a byte array). Or better still - is there an equivalent
already somewhere in Tomcat?

Bojan