Interface GSBlobStorage.WriteChannel

Enclosing interface:
GSBlobStorage

public static interface GSBlobStorage.WriteChannel
Abstract blob write channel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the channel.
    int
    write(byte[] content, int start, int length)
    Writes data to the channel.
  • Method Details

    • write

      int write(byte[] content, int start, int length) throws IOException
      Writes data to the channel.
      Parameters:
      content - The data buffer
      start - Start offset in the data buffer
      length - Number of bytes to write
      Returns:
      The number of bytes written
      Throws:
      IOException - On underlying failure
    • close

      void close() throws IOException
      Closes the channel.
      Throws:
      IOException - On underlying failure