com.buck.common.codec
Class Base32Hex

java.lang.Object
  extended by com.buck.common.codec.Codec
      extended by com.buck.common.codec.Base32Hex
All Implemented Interfaces:
Comparable<Codec>

public class Base32Hex
extends Codec

Codec for RFC 4648 Base32 Encoding with Extended Hex Alphabet

This implementation does not encode/decode streaming data. You need the data that you will encode/decode already on a byte arrray.

Author:
Robert J. Buck

Constructor Summary
Base32Hex()
           
 
Method Summary
protected static boolean isBase64(byte octet)
           
 CodecDecoder newDecoder()
          Constructs a new decoder for this codec.
 CodecEncoder newEncoder()
          Constructs a new encoder for this codec.
 
Methods inherited from class com.buck.common.codec.Codec
aliases, availableCodecs, compareTo, equals, forName, hashCode, isSupported, name
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base32Hex

public Base32Hex()
Method Detail

isBase64

protected static boolean isBase64(byte octet)

newDecoder

public CodecDecoder newDecoder()
Description copied from class: Codec
Constructs a new decoder for this codec.

Specified by:
newDecoder in class Codec
Returns:
A new decoder for this codec

newEncoder

public CodecEncoder newEncoder()
Description copied from class: Codec
Constructs a new encoder for this codec.

Specified by:
newEncoder in class Codec
Returns:
A new encoder for this codec


Copyright © 2013. All Rights Reserved.