comp.lang.ada
 help / color / mirror / Atom feed
* Sequential_Io metadata
@ 2008-02-29 16:53 arban
  2008-02-29 18:10 ` arban
  0 siblings, 1 reply; 2+ messages in thread
From: arban @ 2008-02-29 16:53 UTC (permalink / raw)


I have files which were written using Sequential_Io instantiations of
a record with discriminants under Rational Apex 3.2.0. It would appear
that 3 extra bytes are written to the file just before the actual
record data. The first two bytes appear to be the size of the record
written, but I cannot figure out what the 3rd byte represents. Anyone
happen to have worked with this before?

Thanks,
Kevin



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sequential_Io metadata
  2008-02-29 16:53 Sequential_Io metadata arban
@ 2008-02-29 18:10 ` arban
  0 siblings, 0 replies; 2+ messages in thread
From: arban @ 2008-02-29 18:10 UTC (permalink / raw)


Never mind my stupidity. In my test client I was printing the data
from the wrong byte offset.

All three bytes of metadata is the size in bytes of the record
following it.

On Feb 29, 11:53 am, arban <kevin.dick...@gmail.com> wrote:
> I have files which were written using Sequential_Io instantiations of
> a record with discriminants under Rational Apex 3.2.0. It would appear
> that 3 extra bytes are written to the file just before the actual
> record data. The first two bytes appear to be the size of the record
> written, but I cannot figure out what the 3rd byte represents. Anyone
> happen to have worked with this before?
>
> Thanks,
> Kevin




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-29 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-29 16:53 Sequential_Io metadata arban
2008-02-29 18:10 ` arban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox