## Uses of Class
org.apache.commons.compress.harmony.pack200.BHSDCodec

- Packages that use BHSDCodec
  Package | Description
  --- | ---
  org.apache.commons.compress.harmony.pack200 |
  org.apache.commons.compress.harmony.unpack200 |

- - ### Uses of BHSDCodec in org.apache.commons.compress.harmony.pack200

    Fields in org.apache.commons.compress.harmony.pack200 declared as BHSDCodec
    Modifier and Type | Field and Description
    --- | ---
    `static BHSDCodec` | Codec.`BCI5` BCI5 = (5,4): Used for storing branching information in bytecode.
    `static BHSDCodec` | Codec.`BRANCH5` BRANCH5 = (5,4,2): Used for storing branching information in bytecode.
    `static BHSDCodec` | Codec.`BYTE1` BYTE1 = (1,256): Used for storing plain bytes.
    `static BHSDCodec` | Codec.`CHAR3` CHAR3 = (3,128): Used for storing text (UTF-8) strings.
    `static BHSDCodec` | Codec.`DELTA5` DELTA5 = (5,64,1,1): Used for the majority of numerical codings where there is a correlated sequence of signed values.
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaDoubleSignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaSignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaSignedCodecs2`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaSignedCodecs3`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaSignedCodecs4`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaSignedCodecs5`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaUnsignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaUnsignedCodecs2`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaUnsignedCodecs3`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaUnsignedCodecs4`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`deltaUnsignedCodecs5`
    `static BHSDCodec` | Codec.`MDELTA5` MDELTA5 = (5,64,2,1): Used for the majority of numerical codings where there is a correlated sequence of signed values, but where most of them are expected to be non-negative.
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaDoubleSignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaSignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaSignedCodecs2`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaUnsignedCodecs1`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaUnsignedCodecs2`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaUnsignedCodecs3`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaUnsignedCodecs4`
    `static BHSDCodec[]` | CanonicalCodecFamilies.`nonDeltaUnsignedCodecs5`
    `static BHSDCodec` | Codec.`SIGNED5` SIGNED5 = (5,64,1): Used for small signed values.
    `static BHSDCodec` | Codec.`UDELTA5` UDELTA5 = (5,64,0,1): Used for the majority of numerical codings where there is a correlated sequence of unsigned values.
    `static BHSDCodec` | Codec.`UNSIGNED5` UNSIGNED5 = (5,64): Used for small unsigned values.

    Methods in org.apache.commons.compress.harmony.pack200 that return BHSDCodec
    Modifier and Type | Method and Description
    --- | ---
    `static BHSDCodec` | CodecEncoding.`getCanonicalCodec(int i)`

    Methods in org.apache.commons.compress.harmony.pack200 with parameters of type BHSDCodec
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | BandSet.`encodeBandInt(String name, int[] ints, BHSDCodec defaultCodec)` Encode a band of integers.
    `protected byte[]` | BandSet.`encodeFlags(String name, long[][] flags, BHSDCodec loCodec, BHSDCodec hiCodec, boolean haveHiFlags)`
    `protected byte[]` | BandSet.`encodeFlags(String name, long[] flags, BHSDCodec loCodec, BHSDCodec hiCodec, boolean haveHiFlags)` Encode a band of longs (values are split into their high and low 32 bits and then encoded as two separate bands
    `byte[]` | BandSet.`encodeScalar(int[] band, BHSDCodec codec)` Encode a band without considering other Codecs
    `byte[]` | BandSet.`encodeScalar(int value, BHSDCodec codec)` Encode a single value with the given Codec
    `static int` | CodecEncoding.`getSpecifierForDefaultCodec(BHSDCodec defaultCodec)`

  - ### Uses of BHSDCodec in org.apache.commons.compress.harmony.unpack200

    Methods in org.apache.commons.compress.harmony.unpack200 that return BHSDCodec
    Modifier and Type | Method and Description
    --- | ---
    `BHSDCodec` | NewAttributeBands.`getCodec(String layoutElement)` Returns the `BHSDCodec` that should be used for the given layout element.

    Methods in org.apache.commons.compress.harmony.unpack200 with parameters of type BHSDCodec
    Modifier and Type | Method and Description
    --- | ---
    `int[]` | BandSet.`decodeBandInt(String name, InputStream in, BHSDCodec codec, int count)` Decode a band and return an array of `int` values
    `int[][]` | BandSet.`decodeBandInt(String name, InputStream in, BHSDCodec defaultCodec, int[] counts)` Decode a band and return an array of `int[]` values
    `CPClass[]` | BandSet.`parseCPClassReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPNameAndType[]` | BandSet.`parseCPDescriptorReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPDouble[]` | BandSet.`parseCPDoubleReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPFieldRef[]` | BandSet.`parseCPFieldRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPFloat[]` | BandSet.`parseCPFloatReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPInterfaceMethodRef[]` | BandSet.`parseCPInterfaceMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPInteger[]` | BandSet.`parseCPIntReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPLong[]` | BandSet.`parseCPLongReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPMethodRef[]` | BandSet.`parseCPMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[]` | BandSet.`parseCPSignatureReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `protected CPUTF8[][]` | BandSet.`parseCPSignatureReferences(String name, InputStream in, BHSDCodec codec, int[] counts)`
    `CPString[]` | BandSet.`parseCPStringReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[]` | BandSet.`parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[][]` | BandSet.`parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int[] counts)`
    `long[][]` | BandSet.`parseFlags(String name, InputStream in, int[] counts, BHSDCodec hiCodec, BHSDCodec loCodec)`
    `long[][]` | BandSet.`parseFlags(String name, InputStream in, int[] counts, BHSDCodec codec, boolean hasHi)`
    `long[]` | BandSet.`parseFlags(String name, InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec)`
    `long[]` | BandSet.`parseFlags(String name, InputStream in, int count, BHSDCodec codec, boolean hasHi)`
    `String[][]` | BandSet.`parseReferences(String name, InputStream in, BHSDCodec codec, int[] counts, String[] reference)` Parses count references from `in`, using `codec` to decode the values as indexes into `reference` (which is populated prior to this call).
    `String[]` | BandSet.`parseReferences(String name, InputStream in, BHSDCodec codec, int count, String[] reference)` Parses count references from `in`, using `codec` to decode the values as indexes into `reference` (which is populated prior to this call).

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.