Add truncate functions, which are like trim(length() - n), but more idiomatic and less prone to mistakes.  They truncate BufferSegments and Buffers to the requested length.
Add truncate functions, which are like trim(length() - n), but more idiomatic
and less prone to mistakes.  They truncate BufferSegments and Buffers to the
requested length.


git-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@504 4068ffdb-0463-0410-8185-8cc71e3bd399

diegows/wanproxy,splbio/wanproxy,diegows/wanproxy,splbio/wanproxy,diegows/wanproxy,splbio/wanproxy