java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.rpc.unicode_string
org.codelibs.jcifs.smb1.dcerpc.UnicodeString
A Unicode string representation for DCE/RPC operations in JCIFS.
This class wraps strings for use in RPC calls with optional zero termination.
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb1.dcerpc.rpc.unicode_string
buffer, length, maximum_length -
Constructor Summary
ConstructorsConstructorDescriptionUnicodeString(boolean zterm) Constructs a UnicodeString with zero termination option.UnicodeString(String str, boolean zterm) Constructs a UnicodeString from a Java String.UnicodeString(rpc.unicode_string rus, boolean zterm) Constructs a UnicodeString by wrapping an existing unicode_string. -
Method Summary
Methods inherited from class org.codelibs.jcifs.smb1.dcerpc.rpc.unicode_string
decode, encode
-
Constructor Details
-
UnicodeString
public UnicodeString(boolean zterm) Constructs a UnicodeString with zero termination option.- Parameters:
zterm- whether the string should be zero terminated
-
UnicodeString
Constructs a UnicodeString by wrapping an existing unicode_string.- Parameters:
rus- wrapped stringzterm- whether the string should be zero terminated
-
UnicodeString
Constructs a UnicodeString from a Java String.- Parameters:
str- wrapped stringzterm- whether the string should be zero terminated
-
-
Method Details