AStream.Write sends an array of bytes. Obviously the complete array is loaded into memory.
AStream.WriteStream - Reads the data from the stream and sends it. It doesn't load the complete data into memory. You can use it for example to send a large file.