java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.ndr.NdrShort
NDR representation of a short integer (2-byte signed integer).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
public int valueThe short integer value.
-
-
Constructor Details
-
NdrShort
public NdrShort(int value) Constructs an NdrShort with the specified value.- Parameters:
value- the short integer value
-
-
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
-