Interface BytesOutputStream

All Superinterfaces:
org.refcodes.component.Closable

public interface BytesOutputStream extends org.refcodes.component.Closable
(as OutputStream does not provide some useful *interface*)
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.refcodes.component.Closable

    org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flush.
    void
    write(byte[] b)
    Write.
    void
    write(byte[] b, int off, int len)
    Write.
    void
    write(int b)
    Write.

    Methods inherited from interface org.refcodes.component.Closable

    close, closeIn, closeQuietly, closeUnchecked
  • Method Details

    • write

      void write(int b) throws IOException
      Write.
      Parameters:
      b - the b
      Throws:
      IOException - the open exception
    • write

      void write(byte[] b) throws IOException
      Write.
      Parameters:
      b - the b
      Throws:
      IOException - the open exception
    • write

      void write(byte[] b, int off, int len) throws IOException
      Write.
      Parameters:
      b - the b
      off - the off
      len - the len
      Throws:
      IOException - the open exception
    • flush

      void flush() throws IOException
      Flush.
      Throws:
      IOException - the open exception