[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Optional fields and stream reading in WOFF2
From: |
Nikhil Ramakrishnan |
Subject: |
Re: [ft-devel] Optional fields and stream reading in WOFF2 |
Date: |
Thu, 13 Jun 2019 00:59:37 +0530 |
Werner, Moazin,
Thanks for your suggestions!
> The `FT_READ_XXX' macros use implicit `stream' and `error'
> variables.
>
> `FT_READ_XXX' can be controlled with `FT_STREAM_SEEK' and
> `FT_STREAM_POS'. They use the full machinery to check whether a
> read is valid.
Using `FT_READ_XXX' works, and I am now able to read variable streams!
One question that comes up is, what is the point of using `FT_GET_XXX'
if I can't use `FT_STREAM_SEEK' or `FT_STREAM_POS'? How do I decide
whether to use `FT_READ_XXX' or `FT_GET_XXX'?
--
Nikhil