Checkout
stefan2
committed
on 12 Dec 15
Introduce a previously missing "size" function to the svn_packed API.

We'll need it shortly and this fixes an asymmetry between integer dat… Show more
Introduce a previously missing "size" function to the svn_packed API.

We'll need it shortly and this fixes an asymmetry between integer data

and blob data streams.

* subversion/include/private/svn_packed_data.h

 (svn_packed__byte_block_count): Declare new internal API.

* subversion/libsvn_subr/packed_data.c

 (svn_packed__byte_block_count): Implement.

* subversion/tests/libsvn_subr/packed-data-test.c

 (test_byte_stream): Cover the new API as well. Show less