Package ucar.ma2

Examples of ucar.ma2.Array.nextByte()


    assert v.getDataType() == DataType.BYTE;

    boolean hasSigned = false;
    Array data = v.read();
    while (data.hasNext()) {
      byte b = data.nextByte();
      if (b < 0) hasSigned = true;
    }
    assert hasSigned;

    ncfile.close();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.