write_from

lsst.ts.hexrotcomm.write_from(writer, *structs)

Write binary data from one or ctypes.Structures to a socket.

Parameters:
writer : asyncio.StreamWriter

Asynchronous stream writer.

structs : ctypes.Structure

One or more structures to write.