diff --git a/README.md b/README.md index bb46645..676d53d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ let s = P.struct({ field7: P.string(null), // - null -- read until buffer exhausted field8: P.array(null, P.U64BE), -}) +}); ``` ## Debugger @@ -38,18 +38,11 @@ let s = P.struct({ import * as PD from 'micro-packed/debugger'; PD.decode(, data); +PD.diff(, actual, expected); ``` ![Decode](./test/screens/decode.png) -### Diff - -```ts -import * as PD from 'micro-packed/debugger'; - -PD.diff(, actual, expected); -``` - ![Diff](./test/screens/diff.png) ## Utils