IPWorks IPC 2020 Python Edition

Questions / Feedback?

eol Property

Used to break the incoming data stream into chunks separated by EOL.


def get_eol() -> bytes: ...
def set_eol(value: bytes) -> None: ...

eol = property(get_eol, set_eol)

Default Value



This property is used to define boundaries in the input stream using the value of the property.

This property is especially useful with ASCII files. Setting it to CRLF ("\r\n") enables splitting of the incoming ASCII text stream into defined lines. In this case, one event is fired for each line received (as well as in packet boundaries). The CRLF ("\r\n") bytes are discarded.

This property is a binary string. In particular, this means that it can be more than one byte long, and it can contain NULL bytes.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IPC 2020 Python Edition - Version 20.0 [Build 8155]