Uses of Class
org.aoju.bus.core.io.ByteString
Packages that use ByteString
Package
Description
IO相关封装和工具类,包括Inputstream和OutputStream实现类和Buffer处理等
-
Uses of ByteString in org.aoju.bus.core.io
Fields in org.aoju.bus.core.io declared as ByteStringModifier and TypeFieldDescriptionfinal ByteString[]Blending.byteStringsstatic final ByteStringByteString.EMPTYMethods in org.aoju.bus.core.io that return ByteStringModifier and TypeMethodDescriptionstatic ByteStringByteString.decodeBase64(String base64) static ByteStringstatic ByteStringByteString.encodeString(String s, Charset charset) static ByteStringByteString.encodeUtf8(String s) Blending.get(int i) ByteString.hmacSha1(ByteString key) ByteString.hmacSha256(ByteString key) ByteString.hmacSha512(ByteString key) ByteString.md5()static ByteStringByteString.of(byte... data) static ByteStringByteString.of(byte[] data, int offset, int byteCount) static ByteStringByteString.of(ByteBuffer data) static ByteStringByteString.read(InputStream in, int byteCount) ByteString.sha1()ByteString.sha256()ByteString.sha512()ByteString.substring(int beginIndex) ByteString.substring(int beginIndex, int endIndex) ByteString.toAsciiLowercase()ByteString.toAsciiUppercase()Methods in org.aoju.bus.core.io with parameters of type ByteStringModifier and TypeMethodDescriptionintByteString.compareTo(ByteString byteString) final booleanByteString.endsWith(ByteString suffix) ByteString.hmacSha1(ByteString key) ByteString.hmacSha256(ByteString key) ByteString.hmacSha512(ByteString key) final intByteString.indexOf(ByteString other) final intByteString.indexOf(ByteString other, int fromIndex) final intByteString.lastIndexOf(ByteString other) final intByteString.lastIndexOf(ByteString other, int fromIndex) static BlendingBlending.of(ByteString... byteStrings) 构造booleanByteString.rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) final booleanByteString.startsWith(ByteString prefix) -
Uses of ByteString in org.aoju.bus.core.io.buffer
Subclasses of ByteString in org.aoju.bus.core.io.bufferModifier and TypeClassDescriptionclass由字节数组段组成的不可变字节字符串 该类的存在是为了实现 缓冲区的有效快照 它被实现为一个段数组,加上一个目录 两个半部分,描述段如何组成这个字节字符串Methods in org.aoju.bus.core.io.buffer that return ByteStringModifier and TypeMethodDescriptionfinal ByteStringBuffer.hmacSha1(ByteString key) ByteBuffer.hmacSha1(ByteString key) final ByteStringBuffer.hmacSha256(ByteString key) ByteBuffer.hmacSha256(ByteString key) final ByteStringBuffer.hmacSha512(ByteString key) final ByteStringBuffer.md5()ByteBuffer.md5()Buffer.readByteString()Buffer.readByteString(long byteCount) final ByteStringBuffer.sha1()ByteBuffer.sha1()final ByteStringBuffer.sha256()ByteBuffer.sha256()final ByteStringBuffer.sha512()final ByteStringBuffer.snapshot()final ByteStringBuffer.snapshot(int byteCount) ByteBuffer.substring(int beginIndex) ByteBuffer.substring(int beginIndex, int endIndex) ByteBuffer.toAsciiLowercase()ByteBuffer.toAsciiUppercase()Methods in org.aoju.bus.core.io.buffer with parameters of type ByteStringModifier and TypeMethodDescriptionfinal ByteStringBuffer.hmacSha1(ByteString key) ByteBuffer.hmacSha1(ByteString key) final ByteStringBuffer.hmacSha256(ByteString key) ByteBuffer.hmacSha256(ByteString key) final ByteStringBuffer.hmacSha512(ByteString key) longBuffer.indexOf(ByteString bytes) longBuffer.indexOf(ByteString bytes, long fromIndex) longBuffer.indexOfElement(ByteString targetBytes) longBuffer.indexOfElement(ByteString targetBytes, long fromIndex) booleanBuffer.rangeEquals(long offset, ByteString bytes) booleanBuffer.rangeEquals(long offset, ByteString bytes, int bytesOffset, int byteCount) booleanByteBuffer.rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) Buffer.write(ByteString byteString) -
Uses of ByteString in org.aoju.bus.core.io.sink
Methods in org.aoju.bus.core.io.sink with parameters of type ByteStringModifier and TypeMethodDescriptionBufferSink.write(ByteString byteString) RealSink.write(ByteString byteString) -
Uses of ByteString in org.aoju.bus.core.io.source
Methods in org.aoju.bus.core.io.source that return ByteStringModifier and TypeMethodDescriptionBufferSource.readByteString()Removes all bytes bytes from this and returns them as a byte string.BufferSource.readByteString(long byteCount) RemovesbyteCountbytes from this and returns them as a byte string.RealSource.readByteString()RealSource.readByteString(long byteCount) Methods in org.aoju.bus.core.io.source with parameters of type ByteStringModifier and TypeMethodDescriptionlongBufferSource.indexOf(ByteString bytes) Equivalent toindexOf(bytes, 0).longBufferSource.indexOf(ByteString bytes, long fromIndex) Returns the index of the first match forbytesin the buffer at or afterfromIndex.longRealSource.indexOf(ByteString bytes) longRealSource.indexOf(ByteString bytes, long fromIndex) longBufferSource.indexOfElement(ByteString targetBytes) longBufferSource.indexOfElement(ByteString bytes, long fromIndex) longRealSource.indexOfElement(ByteString targetBytes) longRealSource.indexOfElement(ByteString targetBytes, long fromIndex) booleanBufferSource.rangeEquals(long offset, ByteString bytes) true if the bytes atoffsetin this source equalbytes.booleanBufferSource.rangeEquals(long offset, ByteString bytes, int bytesOffset, int byteCount) ifbyteCountbytes atoffsetin this source equalbytes* atbytesOffset.booleanRealSource.rangeEquals(long offset, ByteString bytes) booleanRealSource.rangeEquals(long offset, ByteString bytes, int bytesOffset, int byteCount)