public static MemoryStream ReadAsMemoryStreamAndDispose([NotNull] this Stream s) { using (s) { return ReadAsMemoryStream(s); } }