aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java
blob: 870d8db6d0453ac9f5a248ab6b3f5a921108802a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.io;

import java.io.IOException;
import java.nio.ByteBuffer;

/**
 * For use with the BufferChain data store.
 *
 * @author Steinar Knutsen
 */
public interface WritableByteTransmitter {
    void send(ByteBuffer src) throws IOException;
}