Lines Matching refs:New
8 * New: `BufferedSource.indexOf(ByteString)` searches a source for the next
20 * New: `ByteString` now implements `Comparable`. The comparison sorts bytes as
33 * New: APIs to read and write UTF-8 code points without allocating strings.
34 * New: `BufferedSink` can now write substrings directly, potentially saving an
36 * New: `ForwardingTimeout` class.
42 * New: Read and write signed decimal and unsigned hexadecimal values in
45 * New: Segment sharing. This improves the runtime of operations like
48 * New: `Buffer.snapshot()` returns an immutable snapshot of a buffer as a
51 * New: `ByteString.rangeEquals()`.
52 * New: `ByteString.md5()` and `ByteString.sha256()`.
53 * New: `ByteString.base64Url()` returns URL-safe Base64. The existing
55 * New: `ByteString.substring()` returns a prefix, infix, or suffix.
56 * New: `Sink` now implements `java.io.Flushable`.
76 * New APIs: `BufferedSink.emit()`, `BufferedSource.request()` and `BufferedSink.indexOfElement()`.
127 * New methods to move all data from a source to a sink.
135 * New API: `ByteString.of(byte[] data, int offset, int byteCount)`
136 * New API: stream-based copy, write, and read helpers.