This shows you the differences between two versions of the page.
| logicpython:cubloc_api:geta [2026/04/10 02:06] – created - external edit 127.0.0.1 | logicpython:cubloc_api:geta [2026/04/10 04:03] (current) – removed mfranklin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== GetA ====== | ||
| - | |||
| - | Read bytes into a mutable byte array. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import GetA | ||
| - | |||
| - | GetA(channel: | ||
| - | </ | ||
| - | |||
| - | ===== Parameters ===== | ||
| - | |||
| - | * **channel**: | ||
| - | * **arrayName**: | ||
| - | * **byteLength**: | ||
| - | |||
| - | ===== Return Value ===== | ||
| - | |||
| - | Returns the number of bytes copied into '' | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import GetA | ||
| - | |||
| - | # Example usage | ||
| - | result = GetA(0, [1, 2, 3], 1) | ||
| - | print(result) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||