完成InputStream和StringBufferInputStream