Class PacketSignatory.SignedPacketWrapper.SigningBuffer

    • Field Detail

      • wrappedBuffer

        private SMBBuffer wrappedBuffer
      • mac

        private final Mac mac
    • Method Detail

      • putBuffer

        public Buffer<SMBBuffer> putBuffer​(Buffer<? extends Buffer<?>> buffer)
        Description copied from class: Buffer
        Copies the contents of provided buffer into this buffer. NOTE: This does not update the source buffer fields!
        Overrides:
        putBuffer in class Buffer<SMBBuffer>
        Parameters:
        buffer - the Buffer to copy
        Returns:
        this
      • putRawBytes

        public Buffer<SMBBuffer> putRawBytes​(byte[] buf,
                                             int offset,
                                             int length)
        Description copied from class: Buffer
        Write the bytes of the passed byte array into this buffer, starting at offset, and writing length bytes.
        Overrides:
        putRawBytes in class Buffer<SMBBuffer>
        Parameters:
        buf - The array of bytes to write
        offset - The offset at which to start reading from the passed array
        length - The number of bytes to write from the passed array
        Returns: