opendap/src/main/java/opendap/dap/DByte.java
public synchronized void deserialize(DataInputStream source,
                                         ServerVersion sv,
                                         StatusUI statusUI)
            throws IOException, EOFException {
        // throw away first three bytes (padding)
        byte unused;
        for (int i = 0; i < 3; i++) {
            unused = source.readByte();
        }
        // read fourth byte
        val = source.readByte();

        if (statusUI != null)
            statusUI.incrementByteCount(4);
    }
public synchronized void deserialize(DataInputStream source,
                                         ServerVersion sv,
                                         StatusUI statusUI)
            throws IOException, EOFException {
        // throw away first three bytes (padding)
        byte unused;
        for (int i = 0; i < 3; i++) {
            unused = source.readByte();
        }
        // read fourth byte
        val = source.readByte();

        if (statusUI != null)
            statusUI.incrementByteCount(4);
    }
public synchronized void deserialize ( DataInputStream source , ServerVersion sv , StatusUI statusUI ) throws IOException , EOFException { // throw away first three bytes (padding)
 byte unused ; for ( int i = 0 ; i < 3 ; i ++ ) { unused = source . readByte ( ) ; } // read fourth byte
 val = source . readByte ( ) ; if ( statusUI != null ) statusUI . incrementByteCount ( 4 ) ; }
Reads data from a <code>DataInputStream</code>. This method is only used
on the client side of the OPeNDAP client/server connection.

@param source   a <code>DataInputStream</code> to read from.
@param sv       the <code>ServerVersion</code> returned by the server.
@param statusUI the <code>StatusUI</code> object to use for GUI updates
and user cancellation notification (may be null).
@throws EOFException if EOF is found before the variable is completely
deserialized.
@throws IOException  thrown on any other InputStream exception.
@see ClientIO#deserialize(DataInputStream, ServerVersion, StatusUI)
Reads data from a <code > DataInputStream< / code > . This method is only used on the client side of the OPeNDAP client / server connection .