/// <summary> /// Returns the 8-bit signed integer value of an array element of self. /// The result of this method is only defined if <see cref="getType"/> /// is <see cref="BFlatEncoding.Type.Int8"/> 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 sbyte getInt8(int arrayIndex) { return(Fixed.decodeInt8(_data, _dataOffset + arrayIndex)); }
/// <summary> /// Returns the 8-bit signed integer value of self. The result of this /// method is only defined if <see cref="getType"/> is /// <see cref="BFlatEncoding.Type.Int8"/> /// </summary> /// <returns>the value of self.</returns> public sbyte getInt8() { return(Fixed.decodeInt8(_data, _dataOffset)); }