java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.ndr.NdrSmall
Represents an NDR small integer (1 byte unsigned) for DCE/RPC communication.
This class encapsulates a single byte value (0-255) in NDR format.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
public int valueThe small integer value (0-255)
-
-
Constructor Details
-
NdrSmall
public NdrSmall(int value) Constructs an NdrSmall with the specified value- Parameters:
value- the small integer value (will be masked to 0-255 range)
-
-
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
-