X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_stream.adoc;h=16f6d9c159520b6e6db5e2573b1b1bc6a7a7de99;hb=60057839785134cd60545fa503c31ab50d4056d2;hp=cec3e9a1227bb3917d2e5e3e005c3e582c0f557b;hpb=656f37efbd89db1b1088281047a9633cf74e92ec;p=rrq%2Frrqforth.git diff --git a/adoc/p_stream.adoc b/adoc/p_stream.adoc index cec3e9a..16f6d9c 100644 --- a/adoc/p_stream.adoc +++ b/adoc/p_stream.adoc @@ -12,12 +12,13 @@ descriptor or for a memory block (of size+data). ==== File descriptor backed STREAM + A file descriptor backed STREAM gains a buffer of the given size prefixed by a 32 byte STREAM header of the following layout: ==== -.file descriptor -[caption='Stream layout {counter:layout}, for '] +.file descriptor stream +[caption='Layout {counter:layout}: '] ---- 8 bytes = size of buffer (excluding the 32 byte header) 8 bytes source file descriptor @@ -33,8 +34,8 @@ A memory block stream is only the header (though allocated via following layout: ==== -.memory block -[caption='Stream layout {counter:layout}, for '] +.memory block stream +[caption='Layout {counter:layout}: '] ---- 8 bytes = block address 8 -1 (indicates memory block)