io - What is meant with a buffer in python -


/ P>

struct.unpack_from (fmt, buffer [, offset = 0])

Open the buffer according to the given format. The result is a tube, even if it contains an item in it. The amount of data required for the least format in the buffer (lane (buffer [offset:]) should be at least casacquis (FMT).)

This means buffer with here. Is there a string buffer or file descriptor? This is a memory buffer: In Python 2, a string (which is in a buffer)

str ), in Python 3, a Binary string ( bytes ), or alternatively an object has been created.

Comments