labapi.entry.attachment.NamedBinaryIO#
- class labapi.entry.attachment.NamedBinaryIO(*args, **kwargs)[source]#
Bases:
ProtocolBinary file-like object with a
nameattribute.- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)close()Close the stream.
read([size])Read bytes from the stream.
seek(offset[, whence])Move the stream cursor.
seekable()Return whether the stream supports random access.
tell()Return the current stream cursor position.
write(data, /)Write bytes to the stream.
Attributes
Return the local filename for this stream.