size of attribute values is now vint and attribute values are written using writeByteArray