diff --git a/README.md b/README.md index 62e0b7b..1383938 100644 --- a/README.md +++ b/README.md @@ -1974,12 +1974,12 @@ Memory View = [] # Returns an int or a float. = [] # Mview with rearranged elements. = .cast('') # Casts memoryview to the new format. -.write() # Appends mview to the binary file. .release() # Releases the object's memory buffer. ``` ### Decode ```python +.write() # Appends mview to the binary file. = bytes() # Creates a new bytes object. = .join() # Joins mviews using bytes object as sep. = list() # Returns list of ints or floats. diff --git a/index.html b/index.html index f38494a..44551c1 100644 --- a/index.html +++ b/index.html @@ -1746,12 +1746,12 @@ db = connector.connect(host=<str>, user=<str>, password=<str>, <real> = <mview>[<index>] # Returns an int or a float. <mview> = <mview>[<slice>] # Mview with rearranged elements. <mview> = <mview>.cast('<typecode>') # Casts memoryview to the new format. -<bin_file>.write(<mview>) # Appends mview to the binary file. <mview>.release() # Releases the object's memory buffer. -

Decode

<bytes> = bytes(<mview>)                       # Creates a new bytes object.
+

Decode

<bin_file>.write(<mview>)                      # Appends mview to the binary file.
+<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')