Package io.protostuff

Interface WriteSession.FlushHandler

  • Enclosing class:
    WriteSession

    public static interface WriteSession.FlushHandler
    • Method Detail

      • flush

        int flush​(WriteSession session,
                  byte[] buf,
                  int offset,
                  int len)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        int flush​(WriteSession session,
                  byte[] buf,
                  int offset,
                  int len,
                  byte[] next,
                  int nextoffset,
                  int nextlen)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        int flush​(WriteSession session,
                  LinkedBuffer lb,
                  byte[] buf,
                  int offset,
                  int len)
           throws java.io.IOException
        Throws:
        java.io.IOException