@hpx7/delta-pack-cli 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +7946 -8127
  3. package/package.json +8 -1
package/README.md CHANGED
@@ -138,6 +138,20 @@ delta-pack encode-diff schema.yml -t GameState --old state1.json --new state2.js
138
138
  delta-pack decode-diff schema.yml -t GameState --old state1.json
139
139
  ```
140
140
 
141
+ ## Inspecting Binary Output
142
+
143
+ ```bash
144
+ # View binary as hex dump
145
+ delta-pack encode schema.yml -t Player -i player.json | xxd
146
+
147
+ # Check encoded size in bytes
148
+ delta-pack encode schema.yml -t Player -i player.json | wc -c
149
+
150
+ # Compare full encode vs diff size
151
+ delta-pack encode schema.yml -t GameState -i state2.json | wc -c
152
+ delta-pack encode-diff schema.yml -t GameState --old state1.json --new state2.json | wc -c
153
+ ```
154
+
141
155
  ## Exit Codes
142
156
 
143
157
  | Code | Meaning |