From 9f8da99f6b6266a7456d3be4d38880a3bd761932 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 May 2016 22:53:57 +0300 Subject: Add into network code function readUInt16. Also fix reading cards id. --- src/net/messagein.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/messagein.h') diff --git a/src/net/messagein.h b/src/net/messagein.h index 44d6a9aab..29b6ef7fb 100644 --- a/src/net/messagein.h +++ b/src/net/messagein.h @@ -71,6 +71,8 @@ class MessageIn notfinal /**< Reads a short. */ virtual int16_t readInt16(const char *const str) = 0; + virtual uint16_t readUInt16(const char *const str) = 0; + /**< Reads a long. */ virtual int32_t readInt32(const char *const str) = 0; -- cgit v1.2.3-60-g2f50