Class IntEncodingAlgorithm

    • Constructor Detail

      • IntEncodingAlgorithm

        public IntEncodingAlgorithm()
    • Method Detail

      • decodeFromInputStream

        public final java.lang.Object decodeFromInputStream​(java.io.InputStream s)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeToOutputStream

        public void encodeToOutputStream​(java.lang.Object data,
                                         java.io.OutputStream s)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • convertFromCharacters

        public final java.lang.Object convertFromCharacters​(char[] ch,
                                                            int start,
                                                            int length)
      • convertToCharacters

        public final void convertToCharacters​(java.lang.Object data,
                                              java.lang.StringBuffer s)
      • decodeFromBytesToIntArray

        public final void decodeFromBytesToIntArray​(int[] idata,
                                                    int istart,
                                                    byte[] b,
                                                    int start,
                                                    int length)
      • decodeFromInputStreamToIntArray

        public final int[] decodeFromInputStreamToIntArray​(java.io.InputStream s)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeToOutputStreamFromIntArray

        public final void encodeToOutputStreamFromIntArray​(int[] idata,
                                                           java.io.OutputStream s)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeToBytes

        public final void encodeToBytes​(java.lang.Object array,
                                        int astart,
                                        int alength,
                                        byte[] b,
                                        int start)
        Specified by:
        encodeToBytes in class BuiltInEncodingAlgorithm
      • encodeToBytesFromIntArray

        public final void encodeToBytesFromIntArray​(int[] idata,
                                                    int istart,
                                                    int ilength,
                                                    byte[] b,
                                                    int start)
      • convertToCharactersFromIntArray

        public final void convertToCharactersFromIntArray​(int[] idata,
                                                          java.lang.StringBuffer s)
      • generateArrayFromList

        public final int[] generateArrayFromList​(java.util.List<java.lang.Integer> array)