Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

Commit 72c3e4d

Browse files
committed
tweak readme
1 parent ef90fc9 commit 72c3e4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ Usage
2727
value_one = b'wonderful string to demonstrate xdelta3, much of these two strings is the same.'
2828
value_two = b'different string to demonstrate xdelta3, much of these two strings is the same.'
2929
delta = xdelta3.encode(value_one, value_two)
30+
# delta is an unreadable byte string: b'\xd6\xc3 ... \x01different\n\x13F\x00'
3031
3132
print(f'New string length: {len(value_two)}, delta length: {len(delta)}')
3233
value_two_rebuilt = xdelta3.decode(value_one, delta)
3334
if value_two_rebuilt == value_two:
3435
print('Boo Ya! Delta encoding successful.')
3536
37+
*(with xdelta3 installed this code should run "as is", just copy it into ipython or a file and run)*
38+
3639
How fast?
3740
---------
3841

0 commit comments

Comments
 (0)