UnpackBoolean() 공개 정적인 메소드

Unpacks the boolean from the head of specified byte array.

Invocation of this method is equivalant to call UnpackBoolean(byte[], int) with offset is 0.

When the type of packed value is not known, use UnpackObject(byte[]) instead.

/// is null. /// /// is empty. /// /// is not valid MessagePack stream. /// /// The unpacked result in the is not compatible to . ///
public static UnpackBoolean ( byte source ) : UnpackingResult
source byte The byte array which contains Message Pack binary stream.
리턴 UnpackingResult
 public void TestUnpackBoolean_ByteArray_Offset_Null()
 {
     Assert.Throws <ArgumentNullException>(() => Unpacking.UnpackBoolean(default(byte[]), 0));
 }