Lines Matching refs:ByteSink
9 // Abstract interface that consumes a sequence of bytes (ByteSink).
15 // ByteSink:
47 * A ByteSink can be filled with bytes.
50 class U_COMMON_API ByteSink : public UMemory {
56 ByteSink() { }
61 virtual ~ByteSink();
77 * on this ByteSink.
91 * If the ByteSink allocates or reallocates an internal buffer, it should use
122 * The ByteSink should be ready for further Append() calls after Flush().
129 ByteSink(const ByteSink &) = delete;
130 ByteSink &operator=(const ByteSink &) = delete;
137 * Implementation of ByteSink that writes to a flat byte array,
145 class U_COMMON_API CheckedArrayByteSink : public ByteSink {
148 * Constructs a ByteSink that will write to outbuf[0..capacity-1].
227 * Implementation of ByteSink that writes to a "string".
232 class StringByteSink : public ByteSink {
235 * Constructs a ByteSink that will append bytes to the dest string.
241 * Constructs a ByteSink that reserves append capacity and will append bytes to the dest string.