From f0abdfc8e6b35a1243295512e277ff3e44a5c8c3 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 22 Feb 2018 14:22:13 +0200 Subject: Describe raw byte usage in README --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 579a89c..f9f3dec 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,12 @@ There are two main ways to use this package. First, it can be used as an importe vs = ViewState(base64EncodedViewState) decoded_state = vs.decode() +It is also possible to feed the raw bytes directly: + +:: + + vs = ViewState(raw='\xff\x01....') + Alternatively, the library can be used via command line by directly executing the module: :: -- cgit v1.3.1