public void setByteArrayAttribute(String name, byte [] value) {
        byte [] copy = new byte[value.length];
        System.arraycopy(value, 0, copy, 0, value.length);
        setValue(byteArrayAttributes, name, ByteBuffer.wrap(copy));
    }
public void setByteArrayAttribute ( String name , byte [ ] value ) { byte [ ] copy = new byte [ value . length ] ; System . arraycopy ( value , 0 , copy , 0 , value . length ) ; setValue ( byteArrayAttributes , name , ByteBuffer . wrap ( copy ) ) ; }
Sets the byte [] value for the specified attribute name.  This parameter will be copied so that modifications
to the passed in parameter are not reflected in the storage of the parameter in this metadata object.
@param name The name of the attribute. Not null.
@param value The value of the attribute to set.
@throws NullPointerException if the name parameter is null or if the value parameter is null.