diff --git a/README.md b/README.md index f24ed90..eb25bc7 100644 --- a/README.md +++ b/README.md @@ -1978,7 +1978,7 @@ Memory View <bytes> = bytes(<mview>) # Creates a new bytes object. <bytes> = <bytes>.join(<coll_of_mviews>) # Joins mviews using bytes object as sep. <list> = list(<mview>) # Returns list of ints or floats. -<str> = str(<mview>, 'utf-8') +<str> = str(<mview>, 'utf-8') # Treats mview as a seqence of bytes. <int> = int.from_bytes(<mview>, byteorder='big/little', signed=False) '<hex>' = <mview>.hex() ``` diff --git a/index.html b/index.html index 18213d1..4497412 100644 --- a/index.html +++ b/index.html @@ -1752,7 +1752,7 @@ db = connector.connect(host=<str>, user=<str>, password=<str>, <bytes> = bytes(<mview>) <span class="hljs-comment"># Creates a new bytes object.</span> <bytes> = <bytes>.join(<coll_of_mviews>) <span class="hljs-comment"># Joins mviews using bytes object as sep.</span> <list> = list(<mview>) <span class="hljs-comment"># Returns list of ints or floats.</span> -<str> = str(<mview>, <span class="hljs-string">'utf-8'</span>) +<str> = str(<mview>, <span class="hljs-string">'utf-8'</span>) <span class="hljs-comment"># Treats mview as a seqence of bytes.</span> <int> = int.from_bytes(<mview>, byteorder=<span class="hljs-string">'big/little'</span>, signed=<span class="hljs-keyword">False</span>) <span class="hljs-string">'<hex>'</span> = <mview>.hex() </code></pre></div>