Add RecvBuf to clientTransfer
function of Session
Signature:
func (ses *Session) RecvBuf(stream io.WriterAt, buf []byte) (eot *EndTransfer, err error)
Instead of using connection.buffer
RecvBuf use the provided buf to read data packet
function of Session
Signature:
func (ses *Session) RecvBuf(stream io.WriterAt, buf []byte) (eot *EndTransfer, err error)
Instead of using connection.buffer
RecvBuf use the provided buf to read data packet