That gist is a 404.

On Wed, Apr 3, 2013 at 5:08 AM, Bodo Kaiser <[email protected]> wrote:
> Hello,
>
> I am trying to code a stream which can handle two sorts of byte-frames:
>
> 1. Byte-frames which are transmitted byte-after-byte
> 2. Byte-frames which are transmitted together (so that the chunk contains
> two byte-frames)
>
> My current implementation is stuck at the second point.
> This issue is that the stream does not recall read to clear the last bit of
> cache.
> So the last package will always be cached and not public.
>
> Here is the gist: https://gist.github.com/bodokaiser/5300586a
>
> In an earlier version I handled this problem through recursive programming.
> This means that there is a function in _read which can call itself on
> remaining bytes in order to parse everything.
> Is this the way to go? Or is there a stream solution?
>
> Bodo
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to