Proton.Data – libqpid-proton Reference Manual
Data
Object Hierarchy:
Proton.Data
Proton.Data
Proton.Data
Description:
[
Compact
]
[
CCode
( cname =
"pn_data_t"
) ]
public
class
Data
Namespace:
Proton
Package:
libqpid-proton
Content:
Properties:
public
int
errno
{
get
; }
public
string
?
error
{
get
; }
public
size_t
size
{
get
; }
public
Type
type
{
get
; }
Creation methods:
public
Data
(
size_t
capacity)
Methods:
public
int
append
(
Data
src)
public
int
appendn
(
Data
src,
int
limit)
public
void
clear
()
public
int
copy
(
Data
src)
public
size_t
decode
(
uint8
[] bytes)
public
void
dump
()
public
size_t
encode
(
uint8
[] bytes)
public
bool
enter
()
public
bool
exit
()
public
int
fill
(
string
fmt, ...)
public
int
format
(
uint8
[] bytes,
ref
size_t
size)
public
size_t
get_array
()
public
Type
get_array_type
()
public
Atom
get_atom
()
public
Bytes
get_binary
()
public
bool
get_bool
()
public
int8
get_byte
()
public
Bytes
get_bytes
()
public
Char
get_char
()
public
Decimal128
get_decimal128
()
public
Decimal32
get_decimal32
()
public
Decimal64
get_decimal64
()
public
double
get_double
()
public
float
get_float
()
public
int32
get_int
()
public
size_t
get_list
()
public
int64
get_long
()
public
size_t
get_map
()
public
int16
get_short
()
public
Bytes
get_string
()
public
Bytes
get_symbol
()
public
Timestamp
get_timestamp
()
public
uint8
get_ubyte
()
public
uint32
get_uint
()
public
uint64
get_ulong
()
public
uint16
get_ushort
()
public
UUID
get_uuid
()
public
bool
is_array_described
()
public
bool
is_described
()
public
bool
is_null
()
public
void
narrow
()
public
bool
next
()
public
bool
prev
()
public
int
print
()
public
int
put_array
(
bool
described,
Type
type)
public
int
put_atom
(
Atom
atom)
public
int
put_binary
(
Bytes
bytes)
public
int
put_bool
(
bool
b)
public
int
put_byte
(
int8
b)
public
int
put_char
(
Char
c)
public
int
put_decimal
(
Decimal32
d)
public
int
put_decimal128
(
Decimal128
d)
public
int
put_decimal64
(
Decimal64
d)
public
int
put_described
()
public
int
put_double
(
double
d)
public
int
put_float
(
float
f)
public
int
put_int
(
uint
i)
public
int
put_list
()
public
int
put_long
(
int64
l)
public
int
put_map
()
public
int
put_null
()
public
int
put_short
(
int16
s)
public
int
put_string
(
Bytes
str)
public
int
put_symbol
(
Bytes
symbol)
public
int
put_timestamp
(
Timestamp
t)
public
int
put_ubyte
(
uint8
ub)
public
int
put_uint
(
uint
ui)
public
int
put_ulong
(
uint64
ul)
public
int
put_ushort
(
uint16
us)
public
int
put_uuid
(
UUID
u)
public
void
rewind
()
public
int
scan
(
string
fmt, ...)
public
int
vfill
(
string
fmt,
va_list
ap)
public
int
vscan
(
string
fmt,
va_list
ap)
public
void
widen
()
2022 vala-language.org