Cet ouvrage fait partie de la bibliothèque YouScribe
Obtenez un accès à la bibliothèque pour le lire en ligne
En savoir plus

Design and implementation of an Extensible Binary Encoding (XBE32) C library

De
100 pages
OF Univ en ersidad LIBRAR Carlos I Y I LIA I UR de h, Madrid EXTENSIBLE Departamen (XBE32) to de ZAMORA Ingenier?a T P elem?tica Inform?tica Ingenier?a TION Inform?tica. AN Esp BINAR ecialidad ENCODING sistemas C distribu?dos Y PR Author: O BAILAN YECTO Diplomada FIN Inform?tica DE MANUEL CARRERA UE?A ASCUAL DESIGN en AND Marc IMPLEMENT 2009 A heart F en or and those or regarded bill as a w e arriors, truth when of engaged to in y , bat, that the Go v himself. anquishing at of the thine bat. enem ol.1 y elmo, b b w e y the ev w if arrior's b only Lord d Sup- Buddha press This all lies h the uman of emotion art and Kill Kill v who ev T er Li?-Li? stands ...da in o th . y . Con . ten . ts 1 . In . tro 18 . 1 . 1.1 . Motiv . ations . . . . . . . . TL . V . olean . teger . Floating . XBE32 . Elemen . Extensible . . . TL . . . alues . . . . . s . . . . . . . . . . . . . . . . . . . . . . . . 2 . 1.2 . Ob . . es . . . . . . 4-Octets . . . . . s . . . . . TL . . . . . 19 . alues . . . . . . . . . . . . . . . . . . . . . alues . . . . . . . alues . . . . . . 3 TL 1.3 . Do . . t . . ten . ts . . . . . . . . 23 . ti ers . Extensible . . . . . 25 . . . . . 17 . s . alues . . . . . . . . . TL . 8-Octets . . . . . . . . . 18 . s 4 alues 2 . ST . A . TE . 0F TL THE AR . T: . ENCODING . ST . AND 20 ARDS V 5 . 2.1 . The . . etitors . . . . String . alue . . . . . . . . . . . . . 21 . V . . . . . . . . . . . . . 21 . V . . . . . . . . . . . . . . .
Voir plus Voir moins

Univ
ersidad
Carlos
en
OF
LIBRAR
I

I
Y
I
LIA
de
UR
Madrid
h,
Departamen
EXTENSIBLE
to
(XBE32)
de

Ingenier?a
ZAMORA
T

elem?tica
P
Ingenier?a
Inform?tica
Inform?tica.
TION
Esp
AN
ecialidad
BINAR
sistemas
ENCODING
distribu?dos
C
PR
Y
O
Author:
YECTO
BAILAN
FIN
Diplomada
DE
Inform?tica
CARRERA
MANUEL

UE?A
DESIGN
ASCUAL
AND
en
IMPLEMENT
Marc
A
2009F
or
those
en
heart
and
regarded
or
as
bill
w
a
arriors,
e
when
truth
engaged
of
in
to

y
bat,
,
the
that
v
Go
anquishing
himself.
of
at
thine
the
enem
bat.
y
ol.1

elmo,
b
b
e
w
the
y
w
ev
arrior's
if
only
b

Lord
Sup-
d
press
Buddha
all
This
h
lies
uman
the
emotion
of
and
art


Kill
Kill
who
v
ev

er
T
stands
Li?-Li?
in
...da
th
o
y
.Con
ten
ts
.
.
.
1

In
.
tro
.

18
1
.
1.1
.
Motiv
.
ations
.
.
.
.
.
.
.
.
.
.
TL
.
V
.
olean
.
teger
.
Floating
.
XBE32
.
Elemen
.
Extensible
.
.
.
TL
.
.
.
alues
.
.
.
.
.
s
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2
.
1.2
.
Ob
.

.
es
.
.
.
.
.
.
.
.
4-Octets
.
.
.
.
.
s
.
.
.
.
.
TL
.
.
.
.
.
19
.
alues
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
alues
.
.
.
.
.
.
.
alues
.
.
.
.
3
.
1.3
TL
Do
.

.
t
.

.
ten
.
ts
.
.
.
.
.
.
.
.
.
.
23
.
tiers
.
Extensible
.
.
.
.
.
25
.
.
.
.
.
17
.
s
.
alues
.
.
.
.
.
.
.
.
.
TL
.
8-Octets
.
.
.
.
.
.
.
.
.
18
4
s
2
alues
ST
.
A
.
TE
.
0F
.
THE
TL
AR

T:
.
ENCODING
.
ST
.
AND
.
ARDS
20
5
V
2.1
.
The
.

.
etitors
.
.
.
.
.
.
String
.
alue
.
.
.
.
.
.
.
.
.
.
.
.
.
21
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
21
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
oin
2.2
V
Justifying
.
the
.
existence
.
of
.
XBE32
.
.
22
.
ts
.
.
.
.
.
.
.
.
.
.
.
.
.
23
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Elemen
.
and
9
.
3
.
XBE32
Elemen
SPECIFICA
.
TION
.
11
.
3.1
.
TL
.
V
.
format
.
.
.
.
.
.
.
.
.
.
Simple
.
V
.
with
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Simple
.
V
.
with
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
12
Simple
Unsp
V
ecied
with
Length
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Simple
.
V
.
with
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Opaque
.
V
.
alues
.
.
14
.
3.2
.
XBE32
.
TL
.
V
.
s
.
.
.
.
.
.
.
.
.
.
.
.
20
.
TL
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Bo
.
TL
.
V
.
.
.
.
.
.
.
.
15
.
Complex
.
TL
.
V
.
s
.
with
.
inner
.
TL
.
V
.
s
In
.
TL
.
V
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
.
p
.
t
.
V
15
alues
Simple
.
TL
.
V
.
with
.
one
.
v
.
ariable-length
.
V
.
alue
.
.
.
.
.
.
3.3
.
Elemen
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16
.
Simple
.
TL
.
V
.
s
.
with
.
1-Octet
Compact
V
ts
alues
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Extensible
.
ts:
.
Names
.
Iden
.
.
.
.
17
.
Simple
24
TL
Complex
V
ts
with
.
2-Octets
.
V
.
alues
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1Extensible
A
ttribute
.

.
Elemen
4.3
ts
AND
.
.
.
to
.
.
.
.
.
.
.
.
.
Pro
.
.
.
.
.
.
.
.
.
.
.
.
.
5.1
.
.
.
60
.
.
.
.
.
elemen
.
.
26
The
4
.
XBE32
.
DESIGN
.
AND
.
IMPLEMENT
.
A
.
TION
.
29
.
4.1
.
TL
.
V
OR
la
futuros
y
.
er
.
.
.
.
t
.
.
.
.
.
.
.
The
.
a
.
.
.
.
.
.
.
.
.
Giving
.
elemen
.
.
.
.
.
.
.
examples
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
example
.
.
.
.
.
.
.
.
.
.
.
.
30
5
The
ORKS
writer:
FUTURE
Building
raba
a
.
TL
.
V
.
.
.
.
.
.
.
.
.
.
elemen
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
40
.
reader:
.

.
XBE32
.
t
.
.
.
.
.
.
.
.
31
.
The
.
reader:
42
Pro


sense
a
the
TL
ts
V
.
.
.
.
.
.
.
.
.
.
47
.
Usage
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
33
48
4.2
ding
XBE32
.
Elemen
.
t
.
la
.
y
.
er
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
49
.
CONCLUSIONS
.
W
.
F
.
THE
.
57
.
T
.
jos
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
40
.
The
.
writer:
.
Building
.
an
.
XBE32
2List
of
Figures
.
.
.
3.1
.
F
.
ormat
.
of
.
a
.
XBE32
TL
TL
.
V
.
.
37
.
45
.
.
.
.
.
yp
.
.
.
.
.
ttribute
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
TL
.
.
.
3.17
.
.
.
.
.
.
.
3.19
.
.
12
.
3.2
Extensible
Dissected
.
TL
.
V
t
t
.
yp

e
.
.
of
.
.
.
TL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
.
es
.
.
.
.
.
.
.
t
.
.
.
.
.
.
.
V
.
.
.
.
.
.
.
attributes
.
.
.
.
13
iden
3.3
.
Primitiv
.
e
example
TL
.
V
26
t
.
yp
.
es
3.23
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
30
.
V
.
.
.
.
.
Closing
.
.
.
.
.
.
.
V
.
.
.
.
.
.
.
Elemen
.
.
.
.
.
.
.
.
.
.
14
.
3.4
.
TL
.
V
In
signaling
t
an
.
End-of-data
.
.
.
.
.
.
.
.
.
.
.
.
TL
.
es
.
.
.
.
.
.
.
.
.
.
.
.
.
3.18
.
and
.
table
.
.
.
.
.
.
.
.
15
.
3.5

Complex
V
TL
.
V
.
s
.
with
3.20
inner
names
TL
.
V
.
s
.
.
.
.
25
.
Elemen
.
.
.
.
.
.
.
.
.
Extensible
.
ts
.
.
.
.
.
.
.
.
.
TL
.
e
.
.
.
.
.
.
.
.
16
.
3.6
.
Example
4.1
of
.
simple
.
TL
.
V
.
with
.
one
.
v
.
ariable-length
Op
v

alue
.
.
.
.
.
.
.
.
.
.
37
.
a
16
.
3.7
.
Example
.
of
.
simple
.
TL
.
V
Next
s

with
.
1-Octet
.
V
.
alues
.
.
.
.
.
.
4.5
.
pro
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
.
3.8
.
Example
.
of
.
simple
.
TL
.
V
.
with
.
2-Octets
.
V
3.16
alues
teger
.
V
.
yp
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
.
3.9
.
Example
.
of
.
simple
22
TL
Floating
V
V
with
yp
4-Octets
.
V
.
alues
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
18
TL
3.10
Meta
Example
Subt
of
e
simple
.
TL
.
V
.
with
.
8-Octets
.
V
.
alues
.
.
.
.
.
.
.
.
23
.
Extensible
.
and
.
TL
.
.
.
.
.
.
.
.
19
.
3.11
.
Simple
.
TL
24
V
Extensible
s
V
with
and

tiers
V
.
alues
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3.21
.
Complex
.
ts
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
3.22
3.12
A
Example
Elemen
of
example
simple
.
TL
.
V
.
with
.

.
V
.
alues
.
.
27
.
Dissected
.
V
.
yp
.
.
.
.
.
.
.
.
.
.
.
.
.
.
20
.
3.13
.
Opaque
.
TL
.
V
.
t
.
yp
28
es
Library
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4.2
.
ening
.
a
.
TL
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
21
.
3.14
.
String
.
TL
4.3
V
of
t

yp
V
es
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4.4
.
TL
.
pro
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
39
21
Next
3.15
t
Bo

olean
.
TL
.
V
.
t
.
yp
.
es
.
.
.
.
.
.
.
.
.
.
.
.
.
.
34Chapter
1
In
tro
them
T
ork.

Salutation,
No
w
w
nd
ada
are
ys
allo


net
hanism
w
It
orks
to
in
use
the
mission.
mo
ha
dern
with
business
(plus
industry
hange
are
o
essen

tial.
ery
There
hnology
are
t
a
w
lot

of
v
services
that
that

in
.
these
een
da
op
ys
in
are
all
pro
of
vided
essary
through
the
the
t
net
er
w
Disco
ork,
goal
and
Disco
without
hnology
them,
the
it
onsible
w
the
ould

b
user
e
and
imp
them
ossible
authorised
to
Service
sa
Proto
v
proto
e
out

of
b
are:
y
,
sharing
proto
them.
e
In
ed
addition
the
to
among
that,
h

en
hnology
p
has
three
adv
sp

h
a
is
lot,
in
making
messages
p
b
ossible
the
for
hines.
the
the
users
ding
to
a
p
ery
ossess
the

this
hines
Service
(laptops,
v
PC's,

PD
.
A's,
is


that
resp
are
to
not
all
static
dieren
but


hed
go
the
with
net
them
ork
wherev
oer
er
to
they
in
go,
are
forcing
to
the
them.
IT
Disco

ery
h

to
the
disco

v

er
the
new
Some
w
these
a
hnologies
ys
Jini,
to
SLP
pro
UPnP
vide
This
the

net
v
w
b
ork

services
to
to
w
those

mobile
eration


F
minimal
or
uman
all
terv
those
tion.
reasons,
o
service
erform
disco
the
v
tasks
ery
the
proto



ha
proto
v
it
e

b
the
een
terc
dev
of
elop
in
ed.
net
The
et

een
to
dieren
net

w
T
ork
nd
services
prop
scattered

among

dieren
for
t
Service
lo
v

Proto
is
is
p
main
ossible
of
thanks
w
to
1•

1.
INTR
ODUCTION
tation
eases
pro
1.1
the
Motiv
less
ations
vides
XSDF
to
(Extensible

Service

Disco
less
v
dieren
ery
data
F
of
ramew
XBE32
ork),
ding
published
ws
in
more
2005,

denes
a
an
the

ha

v
with
data;
sev
bandwidth
eral

en
giv
tities
smaller
and
messages.
proto


net
for
textual
the
b
managemen
and
t

and
other
lo
at

that
of
requires
Service
sa
information.
but
XSDF
a
in
w
ten

ts
user's
to
represen
b
to
e
um
the
goal
to
h
ol
deciencies
to
ose
giv
user
e

CHAPTER
ts


to

the
v
dieren

t
an
net
binary
w

ork
Although
op
tation
erations

that
extensible,
a
elopmen
user
it
needs
and
for
a
its
On
daily
w
w
tion
orking.
exten
XSDF
opular
tries
es
to
tation
address
uc
all
ev
these
space
problems,
lev
oering
quite
a
rules.
framew
w
ork
e
to
v
nd

the
that
b
dieren
est
XML
service
mean
for

the
allo
user.
de
That
a
is,
so
lo
needed.
oking
the
for
XBE32,
the
meaning
one
er
whic
b
h
its
optimizes
is
the
to
needs

of
t
the
in
user
The
and
ed
of
b
the
b
net
expressing
w
in
ork.
to
In
bandwidth
this
of
w
This
a
sp
y
Binary
,
a
this
ding
to
ork
ol


It
b
its
e
represen-
useful
allo
not
proto
just
to
to
e
nd
and
hidden
dev

t
but
debugging,
to
requires
k
bandwidth
eep
pro
a
than
load
binary
balance
terpart.
b
the
et
hand,
w
e
een
men
all
ASN.1,
of
some
them
t
as
p
w
format,
ell.
giv
There
us
is
represen
no
that
need
m
to
h
sa
bandwidth,
y
en
that,
ving
since
at
XSDF
bit
is
el,
another
has
SDP

,

the
As
needs
result,
to
e
implemen
v
t
t
it
o
meets
ery
the
t
needs
ding
of
hanisms
the

others
er
SDP
t
.

Therefore
pro
XSDF
a
is
to
forced
t
to

send
ASN.1

ws
ded

messages
the
as
in
mean
minim
of
space

less
unication
is
b
Our
et
is
w
implemen
een
of
the
whic

is
hines
to
that
v
tak
the
e
of
part
oth
in
them,
its
purp
pro
it

to
No
e
w
the
ada
the
ys,
hance
the
represen
most

p
data
opular
an
format
space.
to
requiremen
represen
ask
t
to

will

e:

to
in-
e
formation
of
is

the

eXtensible
its
2
Markup
Language
sa
(XML),
e
and
through
it

has
really
b
messages.
een
do
emplo
t
y
ecies
ed
eXtensible
b

y
(XBE32),
m
simple
ultiple

net
for
w
w
ork
proto
proto
that


and
data.
applications.
pretends

Un pour Un
Permettre à tous d'accéder à la lecture
Pour chaque accès à la bibliothèque, YouScribe donne un accès à une personne dans le besoin