Name

URLBase64

Synopsis

This class performs Base64 encoding and decoding of arbitrary data. The data can be any series of bytes; there is no requirement that it be related to a URL. Base64-encoded data is entirely in 7-bit ASCII, making it suitable for transmition over any network (some networks use the 8th bit of a byte for parity and cannot transmit some special characters). Base64 encoding turns every three bytes into four ASCII characters.

public class URLBase64 {
// Public Constructors
   public URLBase64();  
// Public Class Methods
   public static void clearDebug();  
   public static byte[ ] decode(byte[ ] input, int inOffset, int inLength) throws jxta.security.exceptions.CryptoException; 
   public static byte[ ] encode(byte[ ] input);  
   public static void setDebug();  
}

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.