Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 300 Bytes

File metadata and controls

30 lines (23 loc) · 300 Bytes

tobytes

Description

Returns the data in the buffer as a string.

Syntax

memoryview. tobytes()

Return Value

str

Time Complexity

#TODO

Example

>>> m = memoryview("abc")
>>> m.tobytes()
'abc'

See Also

#TODO