THRIFT-1632. rb: ruby: data corruption in thrift_native implementation of MemoryBufferTransport This patch fixes a subtle bug whereby the read buffer was being resized but the method continued to read from the original, unresized buffer but at the wrong location.