public class SBuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
encode |
static java.lang.String |
I18NPROPERTYCLASS
Encoding Name
|
static boolean |
jolti18nFlag |
static int |
SBINARY
The constant for the Byte Array (opaque) data type
|
static int |
SBOOLEAN
The constant for the Boolean data type
|
static int |
SBYTE
The constant for the Byte (8-bit) data type
|
static int |
SDOUBLE
The constant for the Double data type
|
static int |
SFLOAT
The constant for the Float data type
|
static int |
SINT
The constant for the Int (32-bit) data type
|
static int |
SLONG
The constant for the Long data type
|
static int |
SMBSTRING
The constant for the MBString data type
|
static int |
SSHORT
The constant for the Short (16-bit) data type
|
static int |
SSTRING
The constant for the String data type
|
static int |
SSTRUCT
The constant for the Structured Buffer data type
|
Constructor and Description |
---|
SBuffer() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getBytes(java.lang.String str) |
static java.lang.String |
getEncode() |
static int |
GETID(int fieldID)
Get the unique ordinal value.
|
static boolean |
getJolti18nFlag() |
static java.lang.String |
getString(byte[] buf,
int offset,
int count) |
static int |
ID(int id,
int type)
This method is to construct the 32-bit Field ID.
|
static int |
TYPE(int fieldID)
Get the data type information from a 32-bit Field ID.
|
public static final int SSHORT
public static final int SINT
public static final int SBYTE
public static final int SFLOAT
public static final int SDOUBLE
public static final int SSTRING
public static final int SBINARY
public static final int SSTRUCT
public static final int SMBSTRING
public static final int SBOOLEAN
public static final int SLONG
public static final java.lang.String I18NPROPERTYCLASS
public static final boolean jolti18nFlag
public static final java.lang.String encode
public static int ID(int id, int type)
id
- A unique 25-bit ordinal numbertype
- One of the data type constantspublic static int TYPE(int fieldID)
fieldID
- The 32-bit Field IDpublic static int GETID(int fieldID)
fieldID
- The 32-bit Field IDpublic static boolean getJolti18nFlag()
public static java.lang.String getEncode()
public static byte[] getBytes(java.lang.String str)
public static java.lang.String getString(byte[] buf, int offset, int count)