BinaryDataExtensionsTests ObjectToBinaryData Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ObjectToBinaryData()
Examples

[Test]
public void ObjectToBinaryData()
{
    string message = "This message cannot be resolved!";
    byte [] data = BinaryDataExtensions.ToByteArrayWithLengthHeader(message);
    Assert.AreEqual(data[0], 44);
}
See Also