return singleton;
}
@Override
public void dump(OtpErlangObject obj, StringBuffer resultHolder) {
OtpErlangBitstr bitStr = (OtpErlangBitstr) obj;
resultHolder.append("<< ");
byte[] bitStringData = bitStr.binaryValue();
if (bitStr.size() != bitStringData.length)
throw new IllegalArgumentException(
"the number of bits in the string is not divisible by 8, conversion cannot be accurately performed");
boolean first = true;
for (byte b : bitStringData) {
if (!first)