FreeBSD/contrib/subversion/subversion/libsvn_subr/packed_data.c
/* Extract and return the next integer from PACKED and make PACKED point
 * to the next integer.
 */
Extract and return the next integer from PACKED and make PACKED point
to the next integer.
Extract and return the next integer from PACKED and make PACKED point to the next integer .
static apr_uint64_t
read_packed_uint(svn_stringbuf_t *packed)
{
  apr_uint64_t result = 0;
  unsigned char *p = (unsigned char *)packed->data;
  apr_size_t read = read_packed_uint_body(p, &result) - p;
  if (read > packed->len)
    read = packed->len;
  packed->data += read;
  packed->blocksize -= read;
  packed->len -= read;
  return result;
}
static apr_uint64_t read_packed_uint ( svn_stringbuf_t * packed ) { apr_uint64_t result = 0 ; unsigned char * p = ( unsigned char * ) packed -> data ; apr_size_t read = read_packed_uint_body ( p , & result ) - p ; if ( read > packed -> len ) read = packed -> len ; packed -> data += read ; packed -> blocksize -= read ; packed -> len -= read ; return result ; }
Extract and return the next integer from PACKED and make PACKED point
 to the next integer.
Extract and return the next integer from PACKED and make PACKED point to the next integer .