Code example for PrimitiveSink

Methods: putBytes

0
public enum ByteableFunnel implements Funnel<Composite> {
    INSTANCE;
 
    @Override 
    public void funnel(Composite from, PrimitiveSink into) {
        into.putBytes(ByteBuffers.toByteArray(from.getBytes()));
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java