Uses of Class
org.aoju.bus.core.io.Buffer
Packages that use Buffer
-
Uses of Buffer in org.aoju.bus.core.io
Fields in org.aoju.bus.core.io declared as BufferModifier and TypeFieldDescriptionBuffer.UnsafeCursor.bufferfinal BufferRealSink.bufferfinal BufferRealSource.bufferMethods in org.aoju.bus.core.io that return BufferModifier and TypeMethodDescriptionBuffer.buffer()BufferSink.buffer()BufferSource.buffer()RealSink.buffer()RealSource.buffer()Buffer.clone()final BufferBuffer.copyTo(OutputStream out) 将其内容复制到out.final BufferBuffer.copyTo(OutputStream out, long offset, long byteCount) 从这里复制byteCount字节,从offset开始,复制到out.final Buffer从这里复制byteCount字节,从offset开始,复制到out.Buffer.emitCompleteSegments()Buffer.getBuffer()BufferSource.getBuffer()RealSource.getBuffer()final BufferBuffer.readFrom(InputStream in) 将in中的字节读入并转为bytesfinal BufferBuffer.readFrom(InputStream in, long byteCount) ReadbyteCountbytes frominto this.Buffer.write(byte[] source) Buffer.write(byte[] source, int offset, int byteCount) Buffer.write(ByteString byteString) Buffer.writeByte(int b) Buffer.writeDecimalLong(long v) Buffer.writeHexadecimalUnsignedLong(long v) Buffer.writeInt(int i) Buffer.writeIntLe(int i) Buffer.writeLong(long v) Buffer.writeLongLe(long v) Buffer.writeShort(int s) Buffer.writeShortLe(int s) Buffer.writeString(String string, int beginIndex, int endIndex, Charset charset) Buffer.writeString(String string, Charset charset) final BufferBuffer.writeTo(OutputStream out) 将其内容写入out.final BufferBuffer.writeTo(OutputStream out, long byteCount) 将byteCount字节写入out.Buffer.writeUtf8CodePoint(int codePoint) Methods in org.aoju.bus.core.io with parameters of type BufferModifier and TypeMethodDescriptionfinal Buffer从这里复制byteCount字节,从offset开始,复制到out.longlongvoidlonglonglonglonglong从中删除至少1个字节,最多为byteCount字节, 并将它们 附加到sink。返回读取的字节数,如果该源已耗尽,则返回-1voidvoidRemoves exactlybyteCountbytes from this and appends them tosink.voidvoidvoidvoidvoidvoidvoidvoid将byteCount字节从source写到pos的文件中voidvoidvoidvoidConstructors in org.aoju.bus.core.io with parameters of type Buffer