From 8c364b185f1ed1cd230383b3dc010c64d5912e91 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 5 Jan 2024 04:21:54 +0000 Subject: [PATCH] Release 0.5.0. --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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