public void parse(TagHandler tagHandler, Descriptor messageDescriptor, byte[] buf, int off, int len) throws IOException {
if (messageDescriptor == null) {
throw new IllegalArgumentException("messageDescriptor cannot be null");
}
CodedInputStream in = CodedInputStream.newInstance(buf, off, len);
parseInternal(tagHandler, messageDescriptor, in);
}