DeflateTransformer.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_assembly_DeflateTransformer__
  3. #define __gnu_javax_crypto_assembly_DeflateTransformer__
  4. #pragma interface
  5. #include <gnu/javax/crypto/assembly/Transformer.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace assembly
  16. {
  17. class DeflateTransformer;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::crypto::assembly::DeflateTransformer : public ::gnu::javax::crypto::assembly::Transformer
  24. {
  25. public: // actually package-private
  26. DeflateTransformer();
  27. virtual void initDelegate(::java::util::Map *);
  28. virtual jint delegateBlockSize();
  29. virtual void resetDelegate();
  30. virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint);
  31. virtual JArray< jbyte > * lastUpdateDelegate();
  32. private:
  33. void compress();
  34. void decompress(JArray< jbyte > *, jint, jint);
  35. ::java::util::zip::Deflater * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Transformer)))) compressor;
  36. ::java::util::zip::Inflater * decompressor;
  37. jint outputBlockSize;
  38. JArray< jbyte > * zlibBuffer;
  39. public:
  40. static ::java::lang::Class class$;
  41. };
  42. #endif // __gnu_javax_crypto_assembly_DeflateTransformer__