//
// If desperate, _might_ be able to hack it with a dummy CharacterEncoder if there is
// no security manager. Otherwise have to class path boot etc to get into the lang
// package. I suppose annoyances like these are why I made this package.
ByteBuf slice = content().slice();
char[] values = new char[slice.capacity()];
if (slice.readableBytes() > 0) {
for (int i = 0; i < slice.capacity(); i++) {
values[i] = (char) slice.getByte(i);
}
} else {