Namespace: DeltaEngine.Core
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Core.BinaryDataExtensionsTests
1 unit tests call DeltaEngine.Core.BinaryDataExtensions.ToByteArrayWithLengthHeader(System.Object)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- message
- Type: System Object
Return Value
Type: ByteRemarks
Examples
[Test] public void ObjectToBinaryData() { string message = "This message cannot be resolved!"; byte [] data = BinaryDataExtensions.ToByteArrayWithLengthHeader(message); Assert.AreEqual(data[0], 44); }
See Also