Make toByteByffer public
Make toByteByffer public

Add method to convert the whole slice into a ByteBuffer

airlift/slice,electrum/slice,drudenko/slice,cberner/slice,haozhun/slice,dain/slice,fengshao0907/slice