package com.elopteryx.paint.upload;
import java.io.IOException;
import java.nio.ByteBuffer;
<BUG>import java.nio.channels.WritableByteChannel;</BUG>
@FunctionalInterface
public interface OnPartBegin {
<BUG>WritableByteChannel onPartBegin(UploadContext context, ByteBuffer buffer) throws IOException;
</BUG>
}

package com.elopteryx.paint.upload;
import java.io.Closeable;
import java.io.IOException;
import java.nio.ByteBuffer;
@FunctionalInterface
public interface OnPartBegin {
PartOutput onPartBegin(UploadContext context, ByteBuffer buffer) throws IOException;
