BufferDataMarshallerSizeBits Method |
Returns the size of type.
Namespace: Demo3D.PLC.CommsAssembly: PLC (in PLC.dll) Version: 19.00.00
Syntaxprotected abstract int SizeBits(
ValueStruct value,
int maxBits
)
Parameters
- value ValueStruct
- The value being sized.
- maxBits Int32
- The maximum number of bits it's expected to fit into. (May be -1.)
Return Value
Int32[Missing <returns> documentation for "M:Demo3D.PLC.Comms.BufferDataMarshaller.SizeBits(Demo3D.Common.ValueStruct,System.Int32)"]
Remarks
Can return -1 if the size really can't be determined (such as a marshaller for a variable length string).
See Also