This shows you the differences between two versions of the page.
| logicpython:cubloc_api:bfree [2026/04/10 02:06] – created - external edit 127.0.0.1 | logicpython:cubloc_api:bfree [2026/04/10 04:02] (current) – removed mfranklin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== BFree ====== | ||
| - | |||
| - | Return the number of free bytes in a receive or send buffer. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import BFree | ||
| - | |||
| - | BFree(channel: | ||
| - | </ | ||
| - | |||
| - | ===== Parameters ===== | ||
| - | |||
| - | * **channel**: | ||
| - | * **bufferType**: | ||
| - | |||
| - | ===== Return Value ===== | ||
| - | |||
| - | Return the number of free bytes in a receive or send buffer. | ||
| - | |||
| - | ===== Exceptions ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import BFree | ||
| - | |||
| - | # Example usage | ||
| - | result = BFree(0, 16) | ||
| - | print(result) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||