public final class SliceOutput
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Slice |
copyOf() |
static SliceOutput |
sliceOutput(int initialSize) |
Slice |
view() |
void |
write(byte b) |
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int offset,
int len) |
void |
write(java.nio.ByteBuffer buffer) |
void |
write(Slice slice) |
void |
writeFully(java.io.InputStream input) |
public static SliceOutput sliceOutput(int initialSize)
public void write(byte b)
public void write(byte[] buffer)
public void write(byte[] buffer, int offset, int len)
public void write(java.nio.ByteBuffer buffer)
public void write(Slice slice)
public void writeFully(java.io.InputStream input)
public Slice copyOf()
public Slice view()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.