Package org.eclipse.rdf4j.common.io

## Interface ByteSink

- All Superinterfaces:
    `Sink`
  All Known Implementing Classes:
    `BinaryQueryResultWriter`, `BinaryRDFWriter`

      public interface ByteSink
      extends Sink

  A ByteSink writes data as raw bytes directly to an `OutputStream`.
  Since:
    3.5.0
  Author:
    Jeen Broekstra

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `OutputStream` | `getOutputStream()` | get the `OutputStream` used by this `ByteSink`.

    - ### Methods inherited from interface org.eclipse.rdf4j.common.io.Sink

      `acceptsFileFormat, getFileFormat`

- - ### Method Detail

    - #### getOutputStream

          OutputStream getOutputStream()

      get the `OutputStream` used by this `ByteSink`.
      Returns:
        an `OutputStream`
      Since:
        3.5.0