byte array buffer could be specified when initialize StreamTransfer.

Signed-off-by: 核心力量 <kernelforce@gmail.com>