Make Serializer m_buf and m_size public

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>