/// <summary> /// Returns the double-precision value of an array element of /// self. The result of this method is only defined if /// <see cref="getType"/> is <see cref="BFlatEncoding.Type.Double"/>, /// and <paramref name="arrayIndex"/> is less than the return value of /// <see cref="getArrayLength"/>. /// </summary> /// <param name="arrayIndex">The 0-based index into this array.</param> /// <returns>The value of this array element.</returns> public double getDouble(int arrayIndex) { return(Fixed.decodeDouble(_data, _dataOffset + (8 * arrayIndex))); }
/// <summary> /// Returns the double-precision value of self. The result of /// this method is only defined if <see cref="getType"/> is /// <see cref="BFlatEncoding.Type.Double"/> /// </summary> /// <returns>the value of self.</returns> public double getDouble() { return(Fixed.decodeDouble(_data, _dataOffset)); }