Interface ByteWriter


public interface ByteWriter
This interface defines additional functionalities a web container can provide for the response writer. If implementated, perfermance will likely to be improved.
Author:
Kin-man Chung
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(byte[] buff, int off, int len)
    Write a portion of a byte array to the output.
  • Method Details

    • write

      void write(byte[] buff, int off, int len) throws IOException
      Write a portion of a byte array to the output.
      Parameters:
      buff - A byte array
      off - Offset from which to start reading byte
      len - Number of bytes to write
      Throws:
      IOException