摘要:
view plaincopy to clipboardprint?publicclassByteToBinary{/***把byte数组转化成2进制字符串*@parambArr*@return*/publicStringgetBinaryStrFromByteArr(byte[]bArr){Stringresult="";for(byteb:bArr){result+=getBinaryStrFromByte(b);}returnresult;}/***把byte转化成2进制字符串*@paramb*@return*/publicStringgetBinaryStrFromB 阅读全文