public final class Tic extends Object
(c) copyright 2002-2016 Delft University of Technology.
BSD-style license. See DSOL License.
Modifier and Type | Method and Description |
---|---|
static String |
byte2string(byte[] b)
Turn byte array with closing zero into String.
|
static void |
main(String[] args) |
static byte[] |
string2byte(String s)
Turn String into byte array with closing zero.
|
public static void main(String[] args) throws org.sim0mq.Sim0MQException
args
- command line argumentsorg.sim0mq.Sim0MQException
- on errorpublic static byte[] string2byte(String s)
s
- the input stringpublic static String byte2string(byte[] b)
b
- the byte array with closing zero byteCopyright © 2016–2019. All rights reserved.