read_into¶
- async lsst.ts.tcpip.read_into(reader: StreamReader, struct: Structure) None¶
Read binary data from a stream reader into a
ctypes.Structure.- Parameters:
- reader
asyncio.StreamReader Asynchronous stream reader.
- struct
ctypes.Structure Structure to set.
- reader
- Raises:
asyncio.IncompleteReadErrororConnectionErrorIf the connection is closed.