| Package | Description |
|---|---|
| org.aoju.bus.core.io.segment |
| Modifier and Type | Field and Description |
|---|---|
Buffer |
RealBufferedSource.buffer |
Buffer |
Buffer.UnsafeCursor.buffer |
Buffer |
RealBufferedSink.buffer |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
RealBufferedSource.buffer() |
Buffer |
BufferedSource.buffer() |
Buffer |
Buffer.buffer() |
Buffer |
RealBufferedSink.buffer() |
Buffer |
BufferedSink.buffer() |
Buffer |
Buffer.clone()
Returns a deep copy of this buffer.
|
Buffer |
Buffer.copyTo(Buffer out,
long offset,
long byteCount)
Copy
byteCount bytes from this, starting at offset, to out. |
Buffer |
Buffer.copyTo(OutputStream out)
Copy the contents of this to
out. |
Buffer |
Buffer.copyTo(OutputStream out,
long offset,
long byteCount)
Copy
byteCount bytes from this, starting at offset, to
out. |
Buffer |
Buffer.emitCompleteSegments() |
Buffer |
RealBufferedSource.getBuffer() |
Buffer |
BufferedSource.getBuffer() |
Buffer |
Buffer.getBuffer() |
Buffer |
Buffer.readFrom(InputStream in)
Read and exhaust bytes from
in to this. |
Buffer |
Buffer.readFrom(InputStream in,
long byteCount)
Read
byteCount bytes from in to this. |
Buffer |
Buffer.write(byte[] source) |
Buffer |
Buffer.write(byte[] source,
int offset,
int byteCount) |
Buffer |
Buffer.write(ByteString byteString) |
Buffer |
Buffer.writeByte(int b) |
Buffer |
Buffer.writeDecimalLong(long v) |
Buffer |
Buffer.writeHexadecimalUnsignedLong(long v) |
Buffer |
Buffer.writeInt(int i) |
Buffer |
Buffer.writeIntLe(int i) |
Buffer |
Buffer.writeLong(long v) |
Buffer |
Buffer.writeLongLe(long v) |
Buffer |
Buffer.writeShort(int s) |
Buffer |
Buffer.writeShortLe(int s) |
Buffer |
Buffer.writeString(String string,
Charset charset) |
Buffer |
Buffer.writeString(String string,
int beginIndex,
int endIndex,
Charset charset) |
Buffer |
Buffer.writeTo(OutputStream out)
Write the contents of this to
out. |
Buffer |
Buffer.writeTo(OutputStream out,
long byteCount)
Write
byteCount bytes from this to out. |
Buffer |
Buffer.writeUtf8(String string) |
Buffer |
Buffer.writeUtf8(String string,
int beginIndex,
int endIndex) |
Buffer |
Buffer.writeUtf8CodePoint(int codePoint) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
Buffer.copyTo(Buffer out,
long offset,
long byteCount)
Copy
byteCount bytes from this, starting at offset, to out. |
long |
RealBufferedSource.read(Buffer sink,
long byteCount) |
long |
Buffer.read(Buffer sink,
long byteCount) |
long |
Source.read(Buffer sink,
long byteCount)
Removes at least 1, and up to
byteCount bytes from this and appends
them to sink. |
long |
HashingSource.read(Buffer sink,
long byteCount) |
long |
ForwardingSource.read(Buffer sink,
long byteCount) |
long |
GzipSource.read(Buffer sink,
long byteCount) |
long |
InflaterSource.read(Buffer sink,
long byteCount) |
void |
RealBufferedSource.readFully(Buffer sink,
long byteCount) |
void |
BufferedSource.readFully(Buffer sink,
long byteCount)
Removes exactly
byteCount bytes from this and appends them to sink. |
void |
Buffer.readFully(Buffer sink,
long byteCount) |
void |
Segmented.write(Buffer buffer) |
void |
ByteString.write(Buffer buffer) |
void |
Buffer.write(Buffer source,
long byteCount) |
void |
ForwardingSink.write(Buffer source,
long byteCount) |
void |
RealBufferedSink.write(Buffer source,
long byteCount) |
void |
Sink.write(Buffer source,
long byteCount) |
void |
HashingSink.write(Buffer source,
long byteCount) |
void |
GzipSink.write(Buffer source,
long byteCount) |
void |
DeflaterSink.write(Buffer source,
long byteCount) |
| Constructor and Description |
|---|
Segmented(Buffer buffer,
int byteCount) |
Copyright © 2019. All rights reserved.