public MakeTemporaryCopy ( Stream stream ) : Stream | ||
stream | Stream | The |
리턴 | Stream |
public override Stream MakeTemporaryCopy(Stream stream) {
temporaryStream_=new MemoryStream();
stream.Position=0;
StreamUtils.Copy(stream, temporaryStream_, new byte[4096]);
return temporaryStream_;
}