Exemplo n.º 1
0
  /**
   * Reads the ptg data from the array starting at the specified position
   *
   * @param data the RPN array
   * @param pos the current position in the array, excluding the ptg identifier
   * @return the number of bytes read
   */
  public int read(byte[] data, int pos) {
    value = DoubleHelper.getIEEEDouble(data, pos);

    return 8;
  }