An argument is a polymorphic object containing a byte array that can be converted to basic primitive data types.
An argument has a default audiotape that allows for the serialization and de-serialization of its content. An argument audiotape can be:
an array of char
an array of int
an array of short
int
unsigned int
char
unsigned char
short
unsigned short
long
float
double
string
blob
unsigned long
map of (string, string)
To set the argument payload, use the setData( ) method.
To define an unsigned argument, use setUnsigned(true) prior to using setData( ). By default, the argument is signed.
In Java, all data types are signed, unlike C, C++,
and ODL applications.
To serialize an argument, use the getAsBytes( ) function.
To display all known argument information, use printInfo( ).
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |