java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.rpc.unicode_string
- Direct Known Subclasses:
UnicodeString
- Enclosing class:
- rpc
Unicode string structure for DCE/RPC operations.
Represents a Unicode string with length information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]The Unicode character buffershortThe length of the string in bytesshortThe maximum length of the string buffer in bytes -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
length
public short lengthThe length of the string in bytes -
maximum_length
public short maximum_lengthThe maximum length of the string buffer in bytes -
buffer
public short[] bufferThe Unicode character buffer
-
-
Constructor Details
-
unicode_string
public unicode_string()Default constructor for unicode_string.
-
-
Method Details
-
encode
Description copied from class:NdrObjectEncodes this NDR object into the specified buffer- Specified by:
encodein classNdrObject- Parameters:
_dst- the destination buffer for encoding- Throws:
NdrException- if encoding fails
-
decode
Description copied from class:NdrObjectDecodes this NDR object from the specified buffer- Specified by:
decodein classNdrObject- Parameters:
_src- the source buffer for decoding- Throws:
NdrException- if decoding fails
-