Package com.imyeyu.io

Interface IO.OnWriteCallback

Enclosing class:
IO

public static interface IO.OnWriteCallback
写入回调
Version:
2022-11-30 15:08
Author:
夜雨
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    handler(long total, long now)
    写入回调
  • Method Details

    • handler

      default boolean handler(long total, long now)
      写入回调
      Parameters:
      total - 合计字节
      now - 当前缓冲周期字节
      Returns:
      返回 true 时继续写入,否则中断写入