User Tools

Site Tools

한국어

logicpython:cubloc_api:get

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

logicpython:cubloc_api:get [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:get [2026/04/10 04:03] (current) – removed mfranklin
Line 1: Line 1:
-====== Get ====== 
- 
-Read up to 4 bytes from the receive buffer as a little-endian integer. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import Get 
- 
-Get(channel: int, length: int) 
-</code> 
- 
-===== Return Value ===== 
- 
-Returns the received bytes decoded as a little-endian integer. If no data is available, 0 is returned immediately. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import Get 
- 
-# Example usage 
-result = Get(0, 1) 
-print(result) 
-</code> 
- 
-===== Related APIs ===== 
- 
-  * [[logicpython:cubloc_api:bclr|BClr]] 
-  * [[logicpython:cubloc_api:bfree|BFree]] 
-  * [[logicpython:cubloc_api:blen|BLen]] 
-  * [[logicpython:cubloc_api:checkbf|CheckBf]] 
-  * [[logicpython:cubloc_api:geta|GetA]] 
  
logicpython/cubloc_api/get.1775786798.txt.gz · Last modified: by 127.0.0.1