Switch to std::vector for buffer.
Switch to std::vector for buffer.

jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis,jakeware/svis