com.sun.opengl.util
Class StreamUtil
java.lang.Object
com.sun.opengl.util.StreamUtil
public class StreamUtil
- extends Object
Utilities for dealing with streams.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readAll2Array
public static byte[] readAll2Array(InputStream stream)
throws IOException
- Throws:
IOException
readAll2Buffer
public static ByteBuffer readAll2Buffer(InputStream stream)
throws IOException
- Throws:
IOException
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.