/*!
* Returns true if the vector is null.
*
- * \note A vector may be empty without being null.
+ * \note A vector may be empty without being null. So do not use this
+ * method to check if the vector is empty.
+ *
* \see isEmpty()
*/
bool isNull() const;
/*!
* A static, empty ByteVector which is convenient and fast (since returning
* an empty or "null" value does not require instantiating a new ByteVector).
+ *
+ * \warning Do not modify this variable. It will mess up the internal state
+ * of TagLib.
*/
static ByteVector null;
CPPUNIT_ASSERT(i.containsAt(j, 5, 0));
CPPUNIT_ASSERT(i.containsAt(j, 6, 1));
CPPUNIT_ASSERT(i.containsAt(j, 6, 1, 3));
+
+ i.clear();
+ CPPUNIT_ASSERT(i.isEmpty());
+ CPPUNIT_ASSERT(!i.isNull());
}
void testFind1()