public void writeData(OutputStream out) throws IOException { BinaryTools.writeUShort(out, family); if (roomInfo != null) { ByteBlock roomInfoBlock = ByteBlock.createByteBlock(roomInfo); new Tlv(TYPE_ROOM_INFO, roomInfoBlock).write(out); } }