* change asBuffer defult value to false.
* some minor changed.