Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.opengl.util
Class StreamUtil

    java.lang.Object
      com.sun.opengl.util.StreamUtil

    public class StreamUtil

extends Object

Utilities for dealing with streams.

Method Summary
`static byte[]` | `readAll2Array(InputStream stream)`
`static ByteBuffer` | `readAll2Buffer(InputStream stream)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### readAll2Array

    public static byte[] readAll2Array(InputStream stream)
                                throws IOException

  Throws:
    `IOException`

### readAll2Buffer

    public static ByteBuffer readAll2Buffer(InputStream stream)
                                     throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.