delta-coding to/from strings