createApiEncodeStream(): TransformStream<Command, Uint8Array>
Creates a TransformStream that encodes Command objects into MikroTik API binary format
This stream converts high-level Command objects into binary-encoded sentences ready for transmission over a network connection.
TransformStream<Command, Uint8Array>