jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

std::Pack class and stream #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make the Pack class to accept any kind of NIStreamRead object.

Original issue reported on code.google.com by sou...@gmail.com on 1 Jul 2008 at 11:24

GoogleCodeExporter commented 9 years ago
Because Pack class needs sometimes to unread data, we cannot access a 
NIStreamRead
object directly.
Instead, we can use the Buffer class between Pack and any NIStreamRead object.

Original comment by sou...@gmail.com on 31 Jul 2008 at 10:02