Name
buffer
Synopsis
buffer(obj
,offset
=0,size
=-1)
Creates and returns a buffer object referring to
obj
’s data.
obj
must be of a type that supports the
buffer call interface, such as a string or array. The buffer built-in is now deprecated.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.