Gurux.DLMS.GXByteBuffer.GetInt32 C# (CSharp) Method

GetInt32() public method

Get UInt32 value from byte array from the current position and then increments the position.
public GetInt32 ( ) : Int32
return System.Int32
        public Int32 GetInt32()
        {
            Int32 value = (Int32)GetUInt32(Position);
            Position += 4;
            return value;
        }

Usage Example

Exemplo n.º 1
0
        int IConvertible.ToInt32(IFormatProvider provider)
        {
            GXByteBuffer bb = GetByteBuffer(Value, 4);

            return(bb.GetInt32());
        }