3 Dec 2002 18:46
Re: getting a Binary module into the standard libs
Hal Daume III <hdaume <at> ISI.EDU>
2002-12-03 17:46:21 GMT
2002-12-03 17:46:21 GMT
Does flushByte n flush to the next 2^n bit or byte? -- Hal Daume III "Computer science is no more about computers | hdaume <at> isi.edu than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume On 14 Nov 2002, Alastair Reid wrote: > > > 2) The proposals for flushByte, as I see it, are: > > > a) flushBytes h n aligns the stream to the next 2^n byte (bit?) > > boundary > > I think this is the right one to do. It would probably only be used > with n=8,16,32 but I doubt the extra generality will cost anything. > > > b) flushBytes h m n aligns the stream such that the position p > > satisfies (p = n) mod 2^m > > I mentioned this style of interface but I doubt we'd need it in practice. > If we do, it can always be added later as a separate function. > > > > 3) I think we can all agree that we should buffer BinIOs. There are > > a few questions, given this: > > > a) Should multiple threads be allowed to write the same BinHandle(Continue reading)
RSS Feed