Client.portTypeBufferSize

size_t portTypeBufferSize(const(char) * portType) @nogc nothrow

Get the buffer size of a port of a given type. Real-time safe. Should only be called in a buffer size callback.

Parameters

portTypeShould be passed a zero terminated C string of port type

Returns

Size of the port buffer of the given type
size_t portTypeBufferSize(string portType)

Get the buffer size of a port of a given type. Not real-time safe (may allocate). Should only be called in a buffer size callback.

Parameters

portTypePort type name

Returns

Size of the port buffer of the given type