mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
8f9950d4ae
for PikaStdData.String() and PikaStdData.ByteArray() use example/BuiltIn/encode_decode.py fix CI
10 lines
187 B
Python
10 lines
187 B
Python
from PikaStdData import String as string
|
|
from PikaStdData import ByteArray as bytearray
|
|
|
|
b = bytearray(b'test')
|
|
b_s = b.decode()
|
|
print(b_s)
|
|
s = string('test')
|
|
s_b = s.encode()
|
|
print(s_b)
|