Added support for variable-lenght integer encoding to Raw Buffer