How might I, in Java, convert a StringBuffer to a byte array?
I say we have an answer, from Greg:
String.valueOf(stringBuffer).getBytes()