SAP ABAP Class CL_BINARY_BUFFER (Read and manipulate a binary buffer)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
S_DATA_PROC_REUSE (Package) Reusable data processing functions (almost no dependencies)
⤷
⤷
Properties
| Class | CL_BINARY_BUFFER | |
| Short Description | Read and manipulate a binary buffer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_DATA_PROC_REUSE | Reusable data processing functions (almost no dependencies) |
| Created | 20100208 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_BINARY_BUFFER has no interface implemented.
Friends
Class CL_BINARY_BUFFER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ABAP_ENDIAN | 'B' | 20100208 | |||
| 2 | Constant | Public | Type reference (TYPE) | ABAP_ENDIAN | 'L' | 20100208 | |||
| 3 | Instance attribute | Protected | See coding | 20100208 | |||||
| 4 | Instance attribute | Protected | Type reference (TYPE) | ABAP_ENDIAN | CO_BYTEORDER_LITTLE | 20100208 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20100208 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | 20100208 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | 20100208 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | I | 0 | 20100208 |
Methods
Events
Class CL_BINARY_BUFFER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_METADATA | Protected | See coding | 20100208 | begin of ty_metadata,
name TYPE string,
value TYPE string,
end of ty_metadata
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MV_BYTEORDER | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | CO_BYTEORDER_LITTLE | 20100208 | |||
| 2 | MV_DATA | Value transfer | Type reference (TYPE) | XSTRING | 20100208 |
Method CONSTRUCTOR on class CL_BINARY_BUFFER has no exception.
Method GET_BYTEORDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_BYTEORDER | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | 20100208 |
Method GET_BYTEORDER on class CL_BINARY_BUFFER has no exception.
Method GET_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CONTENT | Value transfer | Type reference (TYPE) | XSTRING | 20100208 |
Method GET_CONTENT on class CL_BINARY_BUFFER has no exception.
Method GET_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LENGTH | Value transfer | Type reference (TYPE) | I | 20100208 |
Method GET_LENGTH on class CL_BINARY_BUFFER has no exception.
Method GET_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100208 | ||||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100208 |
Method GET_METADATA on class CL_BINARY_BUFFER has no exception.
Method GET_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_OFFSET | Value transfer | Type reference (TYPE) | I | 20100208 |
Method GET_OFFSET on class CL_BINARY_BUFFER has no exception.
Method INSERT_BYTESEQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | IV_VALUE | Call by reference | Type reference (TYPE) | XSTRING | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_BYTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_BYTESEQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LEN | Call by reference | Type reference (TYPE) | I | 20100208 | ||||
| 2 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 3 | RV_VALUE | Value transfer | Type reference (TYPE) | XSTRING | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_DWORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | INTEGER64 | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_SHORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method READ_WORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method REMOVE_BYTESEQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LEN | Call by reference | Type reference (TYPE) | I | 20100208 | ||||
| 2 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method SEEK_BY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Call by reference | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method SEEK_TO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Call by reference | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method SET_BYTEORDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BYTEORDER | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | 20100208 |
Method SET_BYTEORDER on class CL_BINARY_BUFFER has no exception.
Method SET_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LENGTH | Call by reference | Type reference (TYPE) | I | 20100208 |
Method SET_LENGTH on class CL_BINARY_BUFFER has no exception.
Method SET_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100208 | ||||
| 2 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100208 |
Method SET_METADATA on class CL_BINARY_BUFFER has no exception.
Method WRITE_BYTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | IV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method WRITE_BYTESEQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | IV_VALUE | Call by reference | Type reference (TYPE) | XSTRING | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method WRITE_DWORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | IV_VALUE | Value transfer | Type reference (TYPE) | INTEGER64 | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
Method WRITE_WORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20100208 | |||
| 2 | IV_VALUE | Value transfer | Type reference (TYPE) | I | 20100208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100208 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |