Grasshopper API
GH_ConvertByteArrayToCommonObjectT Method |
Convert an OpenNurbs compliant compressed byte array into a RhinoCommon object.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static T ByteArrayToCommonObject<T>( byte[] data ) where T : CommonObject
Public Shared Function ByteArrayToCommonObject(Of T As CommonObject) ( data As Byte() ) As T
Parameters
- data
- Type: SystemByte
Byte array to de-serialize.
Type Parameters
- T
Return Value
Type: TA RhinoCommon object instance or null on failure.
