Interface WritableWithSize


@Private public interface WritableWithSize
An optional interface to 'size' writables.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Provide a size hint to the caller.
  • Method Details

    • getWritableSize

      Provide a size hint to the caller. write() should ideally not go beyond this if at all possible. You can return 0 if there is no size hint.
      Returns:
      the size of the writable