Changed the logic of VariableByte Java version to match the C++ version
Updated the logic of VariableByte Java version to match the C++ version
Merge pull request #22 from roysamit/master

Updated the logic of VariableByte Java version to match the C++ version