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

GetInt16() public method

Get Int16 value from byte array from the current position and then increments the position.
public GetInt16 ( ) : Int16
return System.Int16
        public Int16 GetInt16()
        {
            Int16 value = (Int16)GetInt16(Position);
            Position += 2;
            return value;
        }

Same methods

GXByteBuffer::GetInt16 ( int index ) : Int16

Usage Example

Exemplo n.º 1
0
        short IConvertible.ToInt16(IFormatProvider provider)
        {
            GXByteBuffer bb = GetByteBuffer(Value, 2);

            return(bb.GetInt16());
        }
All Usage Examples Of Gurux.DLMS.GXByteBuffer::GetInt16