public static Task<byte[]> ToBytesAsync( this Stream stream )
https://raw.githubusercontent.com/Capgemini/Cauldron/master/LICENSE