Module jcifs

Class NdrHyper

java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.ndr.NdrHyper

public class NdrHyper extends NdrObject
NDR representation of a hyper integer (8-byte signed integer).
  • Field Summary

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

    Constructors
    Constructor
    Description
    NdrHyper(long value)
    Constructs an NdrHyper 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 long value
      The hyper integer value.
  • Constructor Details

    • NdrHyper

      public NdrHyper(long value)
      Constructs an NdrHyper with the specified value.
      Parameters:
      value - the hyper 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