FreeBSD/contrib/subversion/subversion/libsvn_fs_x/index.c
/* Append VALUE to STREAM in 7/8b encoding.
 */
Append VALUE to STREAM in 7/8b encoding.
Append VALUE to STREAM in 7 / 8b encoding .
static svn_error_t *
stream_write_encoded(svn_stream_t *stream,
                     apr_uint64_t value)
{
  unsigned char encoded[ENCODED_INT_LENGTH];
  apr_size_t len = encode_uint(encoded, value);
  return svn_error_trace(svn_stream_write(stream, (char *)encoded, &len));
}
static svn_error_t * stream_write_encoded ( svn_stream_t * stream , apr_uint64_t value ) { unsigned char encoded [ ENCODED_INT_LENGTH ] ; apr_size_t len = encode_uint ( encoded , value ) ; return svn_error_trace ( svn_stream_write ( stream , ( char * ) encoded , & len ) ) ; }
Append VALUE to STREAM in 7/8b encoding.
Append VALUE to STREAM in 7 / 8b encoding .