summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-02-22 14:22:13 +0200
committerYuval Adam <_@yuv.al>2018-02-22 14:22:13 +0200
commitf0abdfc8e6b35a1243295512e277ff3e44a5c8c3 (patch)
tree32a6e35bc6ff2e4b45465e6f97366d54658e211a /README.rst
parent1cece6ddfe49f0d292f009944ebe74110da53435 (diff)
Describe raw byte usage in README
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 6 insertions, 0 deletions
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:
::