FreeBSD/contrib/subversion/subversion/libsvn_subr/packed_data.c
/* Write the 7b/8b encoded representation of VALUE to STREAM.
 */
Write the 7b/8b encoded representation of VALUE to STREAM.
Write the 7b / 8b encoded representation of VALUE to STREAM .
static svn_error_t *
write_stream_uint(svn_stream_t *stream,
                  apr_uint64_t value)
{
  unsigned char buffer[10];
  apr_size_t count = write_packed_uint_body(buffer, value) - buffer;
  SVN_ERR(svn_stream_write(stream, (char *)buffer, &count));
  return SVN_NO_ERROR;
}
static svn_error_t * write_stream_uint ( svn_stream_t * stream , apr_uint64_t value ) { unsigned char buffer [ 10 ] ; apr_size_t count = write_packed_uint_body ( buffer , value ) - buffer ; SVN_ERR ( svn_stream_write ( stream , ( char * ) buffer , & count ) ) ; return SVN_NO_ERROR ; }
Write the 7b/8b encoded representation of VALUE to STREAM.
Write the 7b / 8b encoded representation of VALUE to STREAM .