Index
All Classes and Interfaces|All Packages|Serialized Form
B
- base64AlphabetToBytes(String) - Method in class com.glitchybyte.zappy.ZappyBase64StringDecoder
-
Converts a base64 string into decoded bytes.
- base64StringDecode(String) - Method in class com.glitchybyte.zappy.Zappy
-
Decodes a base64 string.
- base64StringDecode(String) - Method in class com.glitchybyte.zappy.ZappyBase64StringDecoder
-
Decodes a base64 string.
- base64StringEncode(String) - Method in class com.glitchybyte.zappy.Zappy
-
Encodes a string into a base64 string.
- base64StringEncode(String) - Method in class com.glitchybyte.zappy.ZappyBase64StringEncoder
-
Encodes a string into a base64 string.
- bytesToBase64Alphabet(byte[]) - Method in class com.glitchybyte.zappy.ZappyBase64StringEncoder
-
Converts raw bytes into a base64 string.
- byteToInt(byte) - Static method in class com.glitchybyte.zappy.GUtils
-
Converts a byte that is supposed to be unsigned into an int, in order to preserve the full byte range as a positive number.
C
- com.glitchybyte.zappy - package com.glitchybyte.zappy
- create() - Static method in class com.glitchybyte.zappy.GByteBuffer
-
Creates a default empty buffer.
- createWrapped(byte[]) - Static method in class com.glitchybyte.zappy.GByteBuffer
-
Creates a buffer wrapping the given byte array.
D
- decode(String) - Method in class com.glitchybyte.zappy.Zappy
-
Turns a Zappy compressed string into a string.
- decode(String) - Method in class com.glitchybyte.zappy.ZappyDecoder
-
Turns a Zappy compressed string into a string.
- defaultContractions - Static variable in class com.glitchybyte.zappy.ZappyDefaultContractions
-
Default contractions for Zappy.
E
- encode(String) - Method in class com.glitchybyte.zappy.Zappy
-
Turns a string into a Zappy compressed string.
- encode(String) - Method in class com.glitchybyte.zappy.ZappyEncoder
-
Turns a string into a Zappy compressed string.
- ensureCapacity(ByteBuffer, int) - Static method in class com.glitchybyte.zappy.GByteBuffer
-
Ensures the buffer can hold the given number of bytes.
- ensureCapacityForMoreBytes(ByteBuffer, int) - Static method in class com.glitchybyte.zappy.GByteBuffer
-
Ensures the buffer can hold the given extra number of bytes.
G
- GByteBuffer - Class in com.glitchybyte.zappy
-
Helper for ByteBuffer.
- GUtils - Class in com.glitchybyte.zappy
-
Common utilities.
S
- shortToInt(short) - Static method in class com.glitchybyte.zappy.GUtils
-
Converts a short that is supposed to be unsigned into an int, in order to preserve the full short range as a positive number.
T
- toByteArray(ByteBuffer) - Static method in class com.glitchybyte.zappy.GByteBuffer
-
Returns the valid bytes from the ByteBuffer as an array.
Z
- Zappy - Class in com.glitchybyte.zappy
-
Encoding and decoding compressed web text for transport.
- Zappy(Map<Integer, String[]>) - Constructor for class com.glitchybyte.zappy.Zappy
-
Creates a Zappy object ready to encode and decode messages.
- ZappyBase64StringDecoder - Class in com.glitchybyte.zappy
-
Base64 string decoder.
- ZappyBase64StringDecoder() - Constructor for class com.glitchybyte.zappy.ZappyBase64StringDecoder
-
Creates a Zappy base64 decoder.
- ZappyBase64StringEncoder - Class in com.glitchybyte.zappy
-
Base64 string encoder.
- ZappyBase64StringEncoder() - Constructor for class com.glitchybyte.zappy.ZappyBase64StringEncoder
-
Creates a Zappy base64 encoder.
- ZappyDecoder - Class in com.glitchybyte.zappy
-
Zappy decoder.
- ZappyDecoder(Map<Integer, Map<Integer, byte[]>>) - Constructor for class com.glitchybyte.zappy.ZappyDecoder
-
Creates a Zappy decoder.
- ZappyDefaultContractions - Class in com.glitchybyte.zappy
-
Default contractions for Zappy.
- ZappyEncoder - Class in com.glitchybyte.zappy
-
Zappy encoder.
- ZappyEncoder(Map<Integer, Map<Integer, byte[]>>) - Constructor for class com.glitchybyte.zappy.ZappyEncoder
-
Creates a Zappy encoder.
- ZappyParseException - Exception Class in com.glitchybyte.zappy
-
Exception for when a parsing error occurs.
- ZappyParseException(String) - Constructor for exception class com.glitchybyte.zappy.ZappyParseException
-
Creates a parse exception with a message.
- ZappyParseException(Throwable) - Constructor for exception class com.glitchybyte.zappy.ZappyParseException
-
Creates a parse exception from another exception in the process.
All Classes and Interfaces|All Packages|Serialized Form