David Ribeiro Alves has uploaded a new change for review. http://gerrit.cloudera.org:8080/6671
Change subject: Slice::ToDebugString() - Add option to not ascii'ize ...................................................................... Slice::ToDebugString() - Add option to not ascii'ize This method prints bytes individually and always tries to find a graphical representation of the byte, before outputting the raw value. This is great when the slices are written messages but not so good when slices point to raw data, in which case some bytes will, by chance, correspond to well known ascii chars and some won't. To avoid this I've added a new argument, true by default, that when set to false prevents the transformation and always prints the raw bytes. Change-Id: I15ed6f5e18fa20b3dca602c0a215980b97975d05 --- M src/kudu/util/slice-test.cc M src/kudu/util/slice.cc M src/kudu/util/slice.h 3 files changed, 9 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/71/6671/1 -- To view, visit http://gerrit.cloudera.org:8080/6671 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I15ed6f5e18fa20b3dca602c0a215980b97975d05 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: David Ribeiro Alves <dral...@apache.org>