ReadBoolean() public méthode

Read an Erlang atom from the stream and interpret the value as a boolean.
public ReadBoolean ( ) : bool
Résultat bool
 public void Read_Boolean(byte[] buf, bool want)
 {
     using (var s = new OtpInputStream(buf))
     {
         Assert.AreEqual(want, s.ReadBoolean());
     }
 }