Convert the packet to a byte array.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public byte[] ToByteArray()
Visual Basic (Declaration)
Public Function ToByteArray As Byte()
Visual C++
public:
array<unsigned char>^ ToByteArray()

Return Value

A byte array containing the contents of the packet. Organized for writing to a BrainStem.

See Also