Home
last modified time | relevance | path

Searched refs:requireUtf8 (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DBinaryReader.java218 public String readStringInternal(boolean requireUtf8) throws IOException { in readStringInternal() argument
226 if (requireUtf8 && !Utf8.isValidUtf8(buffer, pos, pos + size)) { in readStringInternal()
884 public void readStringListInternal(List<String> target, boolean requireUtf8) in readStringListInternal() argument
890 if (target instanceof LazyStringList && !requireUtf8) { in readStringListInternal()
909 target.add(readStringInternal(requireUtf8)); in readStringListInternal()
DCodedInputStreamReader.java759 public void readStringListInternal(List<String> target, boolean requireUtf8) throws IOException { in readStringListInternal() argument
764 if (target instanceof LazyStringList && !requireUtf8) { in readStringListInternal()
780 target.add(requireUtf8 ? readStringRequireUtf8() : readString()); in readStringListInternal()