endurox-java
Functions
Getting field from UBF

Functions

native short org.endurox.TypedUbf.BgetShort (int bfldid, int occ)
 
native long org.endurox.TypedUbf.BgetLong (int bfldid, int occ)
 
native byte org.endurox.TypedUbf.BgetByte (int bfldid, int occ)
 
native float org.endurox.TypedUbf.BgetFloat (int bfldid, int occ)
 
native double org.endurox.TypedUbf.BgetDouble (int bfldid, int occ)
 
native String org.endurox.TypedUbf.BgetString (int bfldid, int occ)
 
native byte [] org.endurox.TypedUbf.BgetByteArr (int bfldid, int occ)
 

Detailed Description

Get field value from UBF buffer. The values are casted according function return types.

Parameters
bfldidcompiled field id
occfield occurrence
Returns
casted data type
Exceptions
UbfBBADFLDExceptionBad field id requested
UbfBNOTPRESExceptionField not present
UbfBALIGNERRExceptionInvalid Buffer
UbfBNOTFLDExceptionInvalid Buffer
UbfBNOSPACEExceptionNo space in buffer

Function Documentation

◆ BgetByte()

native byte org.endurox.TypedUbf.BgetByte ( int  bfldid,
int  occ 
)

◆ BgetByteArr()

native byte [] org.endurox.TypedUbf.BgetByteArr ( int  bfldid,
int  occ 
)

◆ BgetDouble()

native double org.endurox.TypedUbf.BgetDouble ( int  bfldid,
int  occ 
)

◆ BgetFloat()

native float org.endurox.TypedUbf.BgetFloat ( int  bfldid,
int  occ 
)

◆ BgetLong()

native long org.endurox.TypedUbf.BgetLong ( int  bfldid,
int  occ 
)

◆ BgetShort()

native short org.endurox.TypedUbf.BgetShort ( int  bfldid,
int  occ 
)

◆ BgetString()

native String org.endurox.TypedUbf.BgetString ( int  bfldid,
int  occ 
)