Top Description Fields Constructors Methods
org.brotli.dec

pack-priv final Class Transform

extends Object
Class Inheritance
Static Imports
org.brotli.dec.WordTransformType.IDENTITY, .WordTransformType.OMIT_FIRST_1, .WordTransformType.OMIT_FIRST_2, .WordTransformType.OMIT_FIRST_3, .WordTransformType.OMIT_FIRST_4, .WordTransformType.OMIT_FIRST_5, .WordTransformType.OMIT_FIRST_6, .WordTransformType.OMIT_FIRST_7, .WordTransformType.OMIT_FIRST_9, .WordTransformType.OMIT_LAST_1, .WordTransformType.OMIT_LAST_2, .WordTransformType.OMIT_LAST_3, .WordTransformType.OMIT_LAST_4, .WordTransformType.OMIT_LAST_5, .WordTransformType.OMIT_LAST_6, .WordTransformType.OMIT_LAST_7, .WordTransformType.OMIT_LAST_8, .WordTransformType.OMIT_LAST_9, .WordTransformType.UPPERCASE_ALL, .WordTransformType.UPPERCASE_FIRST

Transformations on dictionary words.

Field Summary

Modifier and TypeField and Description
private final byte[]
private final byte[]
pack-priv static final Transform[]
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
Transform(String prefix, int type, String suffix)

Method Summary

Modifier and TypeMethod and Description
pack-priv static byte[]
readUniBytes(String uniBytes)

pack-priv static int
transformDictionaryWord(byte[] dst, int dstOffset, byte[] word, int wordOffset, int len, Transform transform)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

prefixback to summary
private final byte[] prefix
suffixback to summary
private final byte[] suffix
TRANSFORMSback to summary
pack-priv static final Transform[] TRANSFORMS
typeback to summary
private final int type

Constructor Detail

Transformback to summary
pack-priv Transform(String prefix, int type, String suffix)

Method Detail

readUniBytesback to summary
pack-priv static byte[] readUniBytes(String uniBytes)
transformDictionaryWordback to summary
pack-priv static int transformDictionaryWord(byte[] dst, int dstOffset, byte[] word, int wordOffset, int len, Transform transform)