User Tools

Site Tools

한국어

logicpython:cubloc_api:getstr2

Differences

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

Link to this comparison view

logicpython:cubloc_api:getstr2 [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:getstr2 [2026/04/10 04:06] (current) – removed mfranklin
Line 1: Line 1:
-====== GetStr2 ====== 
- 
-Read string data until a stop character is encountered. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import GetStr2 
- 
-GetStr2(channel: int, byteLength: int, stopChar: int) 
-</code> 
- 
-===== Return Value ===== 
- 
-Returns decoded string data up to ''byteLength'' bytes. If ''stopChar'' is found, it is included in the returned string. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import GetStr2 
- 
-# Example usage 
-result = GetStr2(0, 1, 10) 
-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:get|Get]] 
  
logicpython/cubloc_api/getstr2.1775786798.txt.gz · Last modified: by 127.0.0.1