• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/common/unicode/

Lines Matching refs:bytes

7 // Abstract interface that consumes a sequence of bytes (ByteSink).
35 * \brief C++ API: Interface for writing bytes, and implementation classes.
45 * A ByteSink can be filled with bytes.
62 * Append "bytes[0,n-1]" to this.
63 * @param bytes the pointer to the bytes
64 * @param n the number of bytes; must be non-negative
67 virtual void Append(const char* bytes, int32_t n) = 0;
77 * After writing at most *result_capacity bytes, call Append() with the
78 * pointer returned from this function and the number of bytes written.
79 * Many Append() implementations will avoid copying bytes if this function
85 * ... Write n bytes into buffer, with n <= capacity.
87 * In many implementations, that call to Append will avoid copying bytes.
137 * This sink will not write more than capacity bytes to outbuf.
138 * If more than capacity bytes are Append()ed, then excess bytes are ignored,
167 * Append "bytes[0,n-1]" to this.
168 * @param bytes the pointer to the bytes
169 * @param n the number of bytes; must be non-negative
172 virtual void Append(const char* bytes, int32_t n);
192 * Returns the number of bytes actually written to the sink.
193 * @return number of bytes written to the buffer
198 * Returns true if any bytes were discarded, i.e., if there was an
199 * attempt to write more than 'capacity' bytes.
200 * @return TRUE if more than 'capacity' bytes were Append()ed
205 * Returns the number of bytes appended to the sink.
208 * @return number of bytes written to the buffer
234 * Constructs a ByteSink that will append bytes to the dest string.
240 * Append "bytes[0,n-1]" to this.
241 * @param data the pointer to the bytes
242 * @param n the number of bytes; must be non-negative