Re: EBML data type constraints

Moritz Bunkus <[email protected]>
Newsgroups gmane.comp.multimedia.matroska.devel
Message-ID <[email protected]>
Hey,

> Is a 0 sized (un)signed integer allowed?

Als Ralph Giles has said: that'd be a change to existing practice, so
yes, they're allowed and represent value 0.

> Additionally, the EBML spec says that Floats may be either 4 or 8
> bytes, while the RFC Draft says 0, 4, 8, or 10. Are 0 or 10 byte
> length floats allowed?

Only floats of 4 and 8 bytes are allowed.

> The RFC Draft says that a "string can be zero length" while the EBML
> spec doesn't say. Is a 0 sized string element allowed?

They are and represent an empty string. Note that an empty string is not
the same as the element not being present (which might mean a default
value would come into play); therefore allowing zero-length strings is
pretty clearly a requirement.

Kind regards,
mosu

_______________________________________________
Matroska-devel mailing list
[email protected]
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJVlCPrAAoJEHSvAK3y4yyFbxIQAKklqX6YX340woBnakSqUg9S
F9XZEBnuA8R5ghvbdXira6dLzpiGalRwwDTd7fycf+oQmu1tulKTRYYNi2+8HbBj
R2eIdKr5VWGTFScbTHh1Juz3RKUlHQH7xnwyEJpODZByJKrEoM+4CyZGb0Djo6+n
12ZRh3aJNKKzYUrCzuYKyPTI6vqaA/3GgKRDlSRfdwb2cO54y9sPMQZckVM2vddv
mZSoPfkC8svsirZ43EEVwyKHj8WqIxVC3kQTqOwBttMlDDdN3BDDMVse5Me/I0wd
p8eZRAmeBttfrDzLdMxiHKKD1UbW6yhEqK8ZRTuSTPld9Mf98ehNoZyF+ynsMh7P
9IesDYorbjfNGJTx5EKrwjdYPhm7Kfm9NVQKkA9FJigwSUObDaIo8/TmFVIVVWtM
bWcyCj/Q3eF4wG0Xbbl9HY6NFYWM+IBWmQAUFKKDXKIq9vxBLXbrxqshWwYkdjFx
t0TvI2a7Fm15DAto9xLMZaJKfxjn5++8HgHCqF68ohd8GmvrRZVVRxEu3xtGnrAA
tx3W2ky8bxsP1zMzjiIV31pA/HrDMucROwB0Srg/55YHPdZwVajPEaWNCIOpSNIv
2imOgd+buAiPp74276TemBm7PXTLy63CN3Y1c2NDErBXqLDybmCRgUPlWXKzPpTR
gAbra7RF1nYqTESjRfuW
=0H8k
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.