Added the MethodStreamWriter class, which adds support for writing method bodies as one contiguous stream of bytes