Interface RiffChunkDataWriterType


public interface RiffChunkDataWriterType
A data writer for a chunk.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a client is expected to write data to the given channel.
  • Method Details

    • write

      void write(SeekableByteChannel data) throws IOException
      Called when a client is expected to write data to the given channel. The given channel is configured such that the start of the chunk is at position 0. If the client declared that the chunk must be a certain size, then attempting to write more data than the declared size will cause the channel to raise an exception.
      Parameters:
      data - The writable channel
      Throws:
      IOException - On I/O errors