메소드 | 설명 | |
---|---|---|
GetBytes ( string hex ) : byte[] |
Converts a hex string to a byte array.
|
|
GetString ( byte buf ) : string |
Converts an array of Bytes to a hex String
|
|
ReadString ( Plasma.hsStream s ) : string |
Reads in a UTF-16 string with an int32 size
|
|
ReadString ( Plasma.hsStream s, int maxSize ) : string |
Reads in a UTF-16 string with an int16 size and a predefined maximum size
|
|
ReadUuid ( Plasma.hsStream s ) : System.Guid | ||
WriteString ( Plasma.hsStream s, string data ) : void |
Writes a UTF-16 string with an int32 size
|
|
WriteString ( Plasma.hsStream s, string data, int maxSize ) : void | ||
WriteUuid ( Plasma.hsStream s, System.Guid uuid ) : void |
public static GetString ( byte buf ) : string | ||
buf | byte | Array of Bytes to convert |
리턴 | string |
public static ReadString ( Plasma.hsStream s ) : string | ||
s | Plasma.hsStream | Stream to read from |
리턴 | string |
public static ReadString ( Plasma.hsStream s, int maxSize ) : string | ||
s | Plasma.hsStream | Stream to read from |
maxSize | int | Maximum string size |
리턴 | string |
public static ReadUuid ( Plasma.hsStream s ) : System.Guid | ||
s | Plasma.hsStream | |
리턴 | System.Guid |
public static WriteString ( Plasma.hsStream s, string data ) : void | ||
s | Plasma.hsStream | Stream to write to |
data | string | String to write to the stream |
리턴 | void |
public static WriteString ( Plasma.hsStream s, string data, int maxSize ) : void | ||
s | Plasma.hsStream | |
data | string | |
maxSize | int | |
리턴 | void |
public static WriteUuid ( Plasma.hsStream s, System.Guid uuid ) : void | ||
s | Plasma.hsStream | |
uuid | System.Guid | |
리턴 | void |