Interface RBinaryStreamReactive

    • Method Detail

      • position

        long position()
        Returns current channel's position
        Returns:
        current position
      • position

        void position(long newPosition)
        Sets channel's position
        Parameters:
        newPosition - - new position
      • read

        reactor.core.publisher.Mono<Integer> read(ByteBuffer buf)
        Reads a sequence of bytes into defined buffer.
        Parameters:
        buf - buffer object into which bytes are read
        Returns:
        amount of read bytes
      • write

        reactor.core.publisher.Mono<Integer> write(ByteBuffer buf)
        Writes a sequence of bytes from defined buffer.
        Parameters:
        buf - buffer object from which bytes are transferred
        Returns:
        amount of written bytes