Sound quite good, the only complaint I can make is that you probably should use "Stream" instead of "MemStream" to make your method more generic (usable with any Stream derived class you will need in future).
MemStream is very specific Stream kind, with rather limited use.