made Buffer extends StreamWrapper