Return the written size and a pointer to the buffer.
The AVIOContext stream is left intact.
The buffer must NOT be freed.
No padding is added to the buffer.
@param s IO context
@param pbuffer pointer to a byte buffer
@return the length of the byte buffer
Return the written size and a pointer to the buffer. The AVIOContext stream is left intact. The buffer must NOT be freed. No padding is added to the buffer.
@param s IO context @param pbuffer pointer to a byte buffer @return the length of the byte buffer