Old/mp3_InfoManager/tag.cpp
/** Renders a binary image of the tag into the supplied buffer.
 **
 ** See Size() for an example.  This method returns the actual number of the
 ** bytes of the buffer used to store the tag.  This will be no more than the
 ** size of the buffer itself, because Size() over estimates the required
 ** buffer size when padding is enabled.
 **
 ** Before calling this method, it is advisable to call HasChanged() first as
 ** this will let you know whether you should bother rendering the tag.
 **
 ** @see    ID3_IsTagHeader
 ** @see    ID3_Tag#HasChanged
 ** @return The actual number of the bytes of the buffer used to store the
 **         tag
 ** @param  buffer The buffer that will contain the rendered tag.
 **/
Renders a binary image of the tag into the supplied buffer.
See Size() for an example.  This method returns the actual number of the
bytes of the buffer used to store the tag.  This will be no more than the
size of the buffer itself, because Size() over estimates the required
buffer size when padding is enabled.

Before calling this method, it is advisable to call HasChanged() first as
this will let you know whether you should bother rendering the tag.

@see    ID3_IsTagHeader
@see    ID3_Tag#HasChanged
@return The actual number of the bytes of the buffer used to store the
tag
@param  buffer The buffer that will contain the rendered tag.
Renders a binary image of the tag into the supplied buffer . See Size () for an example . This method returns the actual number of the bytes of the buffer used to store the tag . This will be no more than the size of the buffer itself because Size () over estimates the required buffer size when padding is enabled . Before calling this method it is advisable to call HasChanged () first as this will let you know whether you should bother rendering the tag . @see ID3_IsTagHeader @see ID3_Tag#HasChanged @return The actual number of the bytes of the buffer used to store the tag @param buffer The buffer that will contain the rendered tag .
size_t ID3_Tag::Render(uchar* buffer, ID3_TagType tt) const
{
  ID3_MemoryWriter mw(buffer, -1);
  return this->Render(mw, tt);
}
size_t ID3_Tag :: Render ( uchar * buffer , ID3_TagType tt ) const { ID3_MemoryWriter mw ( buffer , -1 ) ; return this -> Render ( mw , tt ) ; }
Renders a binary image of the tag into the supplied buffer.
Renders a binary image of the tag into the supplied buffer .