Please check if this method is used at all, if not, please remove it. 
What are situations in which contents is copied to a byte buffer?