Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java532 public static ByteString copyFrom(Iterable<ByteString> byteStrings) { in copyFrom() argument
535 if (!(byteStrings instanceof Collection)) { in copyFrom()
537 for (Iterator<ByteString> iter = byteStrings.iterator(); iter.hasNext(); in copyFrom()
542 size = ((Collection<ByteString>) byteStrings).size(); in copyFrom()
549 return balancedConcat(byteStrings.iterator(), size); in copyFrom()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java300 ByteString[] byteStrings = {bs, bs.substring(0, numBytes), rope};
301 for (ByteString x : byteStrings) {