Lines Matching refs:data
1 // Protocol Buffers - Google's data interchange format
78 * calls off to the Message, simple store the result of @c data, and then
79 * when loading, fetch the data and use
111 * Creates a new instance by parsing the provided data. This method should be
112 * sent to the generated message class that the data should be interpreted as.
122 * @param data The data to parse.
124 * the data can not be parsed.
128 + (nullable instancetype)parseFromData:(NSData *)data error:(NSError **)errorPtr;
131 * Creates a new instance by parsing the data. This method should be sent to
132 * the generated message class that the data should be interpreted as. If
142 * @param data The data to parse.
145 * reason if the data can not be parsed.
149 + (nullable instancetype)parseFromData:(NSData *)data
154 * Creates a new instance by parsing the data from the given input stream. This
155 * method should be sent to the generated message class that the data should
165 * @param input The stream to read data from.
168 * reason if the data can not be parsed.
178 * Creates a new instance by parsing the data from the given input stream. This
179 * method should be sent to the generated message class that the data should
190 * @param input The stream to read data from.
193 * reason if the data can not be parsed.
203 * Initializes an instance by parsing the data. This method should be sent to
204 * the generated message class that the data should be interpreted as. If
214 * @param data The data to parse.
216 * the data can not be parsed.
220 - (nullable instancetype)initWithData:(NSData *)data error:(NSError **)errorPtr;
223 * Initializes an instance by parsing the data. This method should be sent to
224 * the generated message class that the data should be interpreted as. If
234 * @param data The data to parse.
237 * reason if the data can not be parsed.
241 - (nullable instancetype)initWithData:(NSData *)data
246 * Initializes an instance by parsing the data from the given input stream. This
247 * method should be sent to the generated message class that the data should
258 * @param input The stream to read data from.
261 * reason if the data can not be parsed.
271 * Parses the given data as this message's class, and merges those values into
274 * @param data The binary representation of the message to merge.
280 - (void)mergeFromData:(NSData *)data
333 * If there is an error while generating the data, nil is returned.
343 - (nullable NSData *)data;
346 * Serializes a varint with the message size followed by the message data,
365 * [foo appendData:[aMsg data]];
371 * NSData *data = [aMsg data];
375 * [foo appendData:data];