Module jcifs

Class NdrLong

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrLong

public class NdrLong extends NdrObject
NDR representation of a long integer (4-byte signed integer).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The long integer value.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NdrLong(int value)
    Constructs an NdrLong with the specified value.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Decodes this NDR object from the specified buffer
    void
    Encodes this NDR object into the specified buffer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      public int value
      The long integer value.
  • Constructor Details

    • NdrLong

      public NdrLong(int value)
      Constructs an NdrLong with the specified value.
      Parameters:
      value - the long integer value
  • Method Details

    • encode

      public void encode(NdrBuffer dst) throws NdrException
      Description copied from class: NdrObject
      Encodes this NDR object into the specified buffer
      Specified by:
      encode in class NdrObject
      Parameters:
      dst - the destination buffer for encoding
      Throws:
      NdrException - if encoding fails
    • decode

      public void decode(NdrBuffer src) throws NdrException
      Description copied from class: NdrObject
      Decodes this NDR object from the specified buffer
      Specified by:
      decode in class NdrObject
      Parameters:
      src - the source buffer for decoding
      Throws:
      NdrException - if decoding fails