public void Can_Peek(byte[] buf, bool want)
{
using (var s = new OtpInputStream(buf))
{
byte b = s.Read1();
Assert.AreEqual(OtpExternal.VersionTag, b);
b = s.Peek();
Assert.AreEqual(OtpExternal.AtomTag, b);
string atom = s.ReadAtom();
Assert.AreEqual(want.ToString().ToLowerInvariant(), atom);
}
}