git-svn-id: svn://db.shs.com.ru/pip@479 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -166,11 +166,6 @@ public:
|
||||
//! \returns \b true if sended bytes count = "size"
|
||||
bool send(const void * data, int size) {return (write(data, size) == size);}
|
||||
|
||||
/// NOTE: no reason to use this function, use PIString::toUtf8() or PIString::dataAscii(),lengthAscii() instead
|
||||
//! \brief Write to device string "data" and wait for data written if "wait" is \b true.
|
||||
//! \returns \b true if sended bytes count = size of string
|
||||
//bool send(const PIString & data, bool wait = false) {return (write(data.data(), data.lengthAscii(), wait) == data.size_s());}
|
||||
|
||||
//! \brief Write to device byte array "data" and wait for data written if "wait" is \b true.
|
||||
//! \returns \b true if sended bytes count = size of string
|
||||
bool send(const PIByteArray & data) {return (write(data.data(), data.size_s()) == data.size_s());}
|
||||
|
||||
Reference in New Issue
Block a user