semuconsulting / pyrtcm

Python library for parsing RTCM 3 protocol messages.
BSD 3-Clause "New" or "Revised" License
75 stars 23 forks source link

Add socket streaming capability #6

Closed semuadmin closed 2 years ago

semuadmin commented 2 years ago

pyrtcm Pull Request Template

Description

Add socket streaming capability. Utilises a SocketStream utility class to allow sockets to be read using standard stream-like read(bytes) and readline() methods.

NB: previous parse_buffer() method in RTCMReader has been removed as this is now redundant.

Fixes # (issue)

Testing

Please test all changes, however trivial, against the supplied unittest suite tests/test_*.py e.g. by executing the tests/testsuite.py module or using your IDE's native Python unittest integration facilities. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

Checklist: