commit | 177b52ab58d87450042e62a9ae6e563b528ec3c5 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Mon Mar 21 18:18:33 2011 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Mon Mar 21 18:18:33 2011 +0000 |
tree | 36668987642b600050dceae9b0abff5379caad3e | |
parent | d3fceb02d450f415088c254ca5fb65d2f32085c0 [diff] |
THRIFT-1101. java: bytebuffer length calculation in TBinaryProtocol writeBinary This patch fixes a bug in Binary and Compact protocol that incorrectly calculates the length of the bytes to be written when the byte buffer being written has a nonzero array offset (such as after a slice() call). git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083890 13f79535-47bb-0310-9956-ffa450edef68