FreeBSD/contrib/subversion/subversion/libsvn_delta/svndiff.c
/* Append an encoded integer to a string.  */
Append an encoded integer to a string.
Append an encoded integer to a string .
static void
append_encoded_int(svn_stringbuf_t *header, svn_filesize_t val)
{
  unsigned char buf[SVN__MAX_ENCODED_UINT_LEN], *p;
  SVN_ERR_ASSERT_NO_RETURN(val >= 0);
  p = svn__encode_uint(buf, (apr_uint64_t)val);
  svn_stringbuf_appendbytes(header, (const char *)buf, p - buf);
}
static void append_encoded_int ( svn_stringbuf_t * header , svn_filesize_t val ) { unsigned char buf [ SVN__MAX_ENCODED_UINT_LEN ] , * p ; SVN_ERR_ASSERT_NO_RETURN ( val >= 0 ) ; p = svn__encode_uint ( buf , ( apr_uint64_t ) val ) ; svn_stringbuf_appendbytes ( header , ( const char * ) buf , p - buf ) ; }
Append an encoded integer to a string.
Append an encoded integer to a string .