_DECOMPRESS_BINARY_STREAM SAP Method Kernel Method for Decompression









Below is documentation, parameters and attributes of ABAP Method _DECOMPRESS_BINARY_STREAM within SAP class CL_ABAP_UNGZIP_BINARY_STREAM. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ABAP_UNGZIP_BINARY_STREAM into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method _DECOMPRESS_BINARY_STREAM can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method _DECOMPRESS_BINARY_STREAM

.

NameTypeData TypeDescriptionDefault Value
DS_INImportingTYPE
%_C_POINTER
Decompress Handle
GZIP_INImportingTYPE
XSEQUENCE
Input (Compr. Text)
GZIP_IN_LENImportingTYPE
I
Input Length
RAW_OUT_FILLImportingTYPE
I
Fill Level of Output
STREAM_ENDImportingTYPE
ABAP_BOOL
End of Input
RAW_OUTExportingTYPE
XSEQUENCE
Decompressed Output
RAW_OUT_LENExportingTYPE
I
Output Length
GZIP_IN_OFFChangingTYPE
I
Current state of decompression



Exceptions of Method _DECOMPRESS_BINARY_STREAM

RAW_OUTExportingTYPE
XSEQUENCEDecompressed OutputRAW_OUT_LENExportingTYPE
IOutput LengthCX_SY_CONVERSION_CODEPAGE - System exception in character set conversion

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_ABAP_UNGZIP_BINARY_STREAM.
DATA: lv_DS_IN TYPE %_C_POINTER,
lv_GZIP_IN TYPE XSEQUENCE,
lv_GZIP_IN_LEN TYPE I,
lv_RAW_OUT TYPE XSEQUENCE,
lv_RAW_OUT_FILL TYPE I,
lv_RAW_OUT_LEN TYPE I,
lv_STREAM_END TYPE ABAP_BOOL,
lv_GZIP_IN_OFF TYPE I,
lv_other TYPE c.

CALL METHOD lo_class=>_DECOMPRESS_BINARY_STREAM(
EXPORTING
DS_IN = lv_DS_IN
GZIP_IN = lv_GZIP_IN
GZIP_IN_LEN = lv_GZIP_IN_LEN
RAW_OUT_FILL = lv_RAW_OUT_FILL
STREAM_END = lv_STREAM_END
IMPORTING
RAW_OUT = lv_RAW_OUT
RAW_OUT_LEN = lv_RAW_OUT_LEN
CHANGING
GZIP_IN_OFF = lv_GZIP_IN_OFF ).

Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!