add .bytesRead property to varint.decode