Home
last modified time | relevance | path

Searched refs:Base64Codec (Results 1 – 4 of 4) sorted by relevance

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java52 public class Base64Codec implements BinaryEncoder, BinaryDecoder { class
223 public Base64Codec() { in Base64Codec() method in Base64Codec
242 public Base64Codec(boolean urlSafe) { in Base64Codec() method in Base64Codec
264 public Base64Codec(int lineLength) { in Base64Codec() method in Base64Codec
290 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() method in Base64Codec
319 public Base64Codec(int lineLength, byte[] lineSeparator, boolean urlSafe) { in Base64Codec() method in Base64Codec
816Base64Codec b64 = isChunked ? new Base64Codec(urlSafe) : new Base64Codec(0, CHUNK_SEPARATOR, urlSa… in encodeBase64()
829 return new Base64Codec().decode(base64String); in decodeBase64()
840 return new Base64Codec().decode(base64Data); in decodeBase64()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java38 import org.apache.commons.codec.binary.Base64Codec;
150 new ByteArrayInputStream(Base64Codec.decodeBase64(triggers.getBytes())); in deserializeTriggersFromString()
165 return new String(Base64Codec.encodeBase64(outputStream.toByteArray())); in serializeTriggersToString()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java48 import org.apache.commons.codec.binary.Base64Codec;
214 conn.write(Base64Codec.decodeBase64(base64)); in bluetoothRfcommWriteBinary()
231 return Base64Codec.encodeBase64String(conn.readBinary(bufferSize)); in bluetoothRfcommReadBinary()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java34 import org.apache.commons.codec.binary.Base64Codec;
611 infoEle.put("bytes", Base64Codec.encodeBase64(ie.bytes).toString()); in buildJsonScanResult()