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 ABAP 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 CO_BYTEORDER_BIG Constant Public Type reference (TYPE) ABAP_ENDIAN 'B' 20100208
2 CO_BYTEORDER_LITTLE Constant Public Type reference (TYPE) ABAP_ENDIAN 'L' 20100208
3 MT_METADATA Instance attribute Protected See coding 20100208
4 MV_BYTEORDER Instance attribute Protected Type reference (TYPE) ABAP_ENDIAN CO_BYTEORDER_LITTLE 20100208
5 MV_CONTENT_TYPE Instance attribute Protected Type reference (TYPE) STRING 20100208
6 MV_DATA Instance attribute Protected Type reference (TYPE) XSTRING 20100208
7 MV_DATALEN Instance attribute Protected Type reference (TYPE) I 20100208
8 MV_OFFSET Instance attribute Protected Type reference (TYPE) I 0 20100208
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20100208
2 GET_BYTEORDER Instance method Public Method 20100208
3 GET_CONTENT Instance method Public Method 20100208
4 GET_LENGTH Instance method Public Method 20100208
5 GET_METADATA Instance method Public Method 20100208
6 GET_OFFSET Instance method Public Method 20100208
7 INSERT_BYTESEQ Instance method Public Method 20100208
8 READ_BYTE Instance method Public Method 20100208
9 READ_BYTESEQ Instance method Public Method 20100208
10 READ_DWORD Instance method Public Method 20100208
11 READ_INT Instance method Public Method 20100208
12 READ_SHORT Instance method Public Method 20100208
13 READ_WORD Instance method Public Method 20100208
14 REMOVE_BYTESEQ Instance method Public Method 20100208
15 SEEK_BY Instance method Public Method 20100208
16 SEEK_TO Instance method Public Method 20100208
17 SET_BYTEORDER Instance method Public Method 20100208
18 SET_LENGTH Instance method Public Method 20100208
19 SET_METADATA Instance method Public Method 20100208
20 WRITE_BYTE Instance method Public Method 20100208
21 WRITE_BYTESEQ Instance method Public Method 20100208
22 WRITE_DWORD Instance method Public Method 20100208
23 WRITE_WORD Instance method Public Method 20100208
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 Importing MV_BYTEORDER Value transfer Type reference (TYPE) ABAP_ENDIAN CO_BYTEORDER_LITTLE 20100208
2 Importing 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 Returning 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 Returning 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 Returning 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100208
2 Returning 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 Returning 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 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Importing IV_VALUE Call by reference Type reference (TYPE) XSTRING 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_BYTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Returning RV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_BYTESEQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LEN Call by reference Type reference (TYPE) I 20100208
2 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
3 Returning RV_VALUE Value transfer Type reference (TYPE) XSTRING 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_DWORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Returning RV_VALUE Value transfer Type reference (TYPE) INTEGER64 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Returning RV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_SHORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Returning RV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method READ_WORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Returning RV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method REMOVE_BYTESEQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LEN Call by reference Type reference (TYPE) I 20100208
2 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method SEEK_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Call by reference Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method SEEK_TO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Call by reference Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method SET_BYTEORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100208
2 Importing 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 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Importing IV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method WRITE_BYTESEQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Importing IV_VALUE Call by reference Type reference (TYPE) XSTRING 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method WRITE_DWORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Importing IV_VALUE Value transfer Type reference (TYPE) INTEGER64 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208

Method WRITE_WORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Value transfer Type reference (TYPE) I 0 20100208
2 Importing IV_VALUE Value transfer Type reference (TYPE) I 20100208
# Exception Resumable Description Created on
1 CX_SY_RANGE_OUT_OF_BOUNDS 20100208
History
Last changed by/on SAP  20131127 
SAP Release Created in