if(NULL == (udata->attr = (H5A_t *)H5O_msg_decode(udata->f, udata->dxpl_id, NULL, H5O_ATTR_ID, obj_len, (const unsigned char *)obj)))
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*-------------------------------------------------------------------------
 *
 * Created:     H5Adense.c
 *          Dec  4 2006
 *          Quincey Koziol <koziol@hdfgroup.org>
 *
 * Purpose:     Routines for operating on "dense" attribute storage
 *                      for an object.
 *
 *-------------------------------------------------------------------------
 */
/****************/
/* Module Setup */
/****************/
#define H5A_PACKAGE     /*suppress error about including H5Apkg  */
#define H5O_PACKAGE     /*suppress error about including H5Opkg  */
/***********/
/* Headers */
/***********/
#include "H5private.h"      /* Generic Functions            */
#include "H5Apkg.h"     /* Attributes               */
#include "H5Eprivate.h"     /* Error handling           */
#include "H5MMprivate.h"    /* Memory management            */
#include "H5Opkg.h"     /* Object headers           */
#include "H5SMprivate.h"    /* Shared object header messages        */
#include "H5WBprivate.h"        /* Wrapped Buffers                      */
/****************/
/* Local Macros */
/****************/
/* v2 B-tree creation macros for 'name' field index */
#define H5A_NAME_BT2_NODE_SIZE          512