Searched refs:getOffsetIntoBytes (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 1280 return new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex, length); in substring() 1297 target.put(bytes, getOffsetIntoBytes(), size()); // Copies bytes in copyTo() 1302 return ByteBuffer.wrap(bytes, getOffsetIntoBytes(), size()).asReadOnlyBuffer(); in asReadOnlyByteBuffer() 1318 outputStream.write(bytes, getOffsetIntoBytes() + sourceOffset, numberToWrite); in writeToInternal() 1323 output.writeLazy(bytes, getOffsetIntoBytes(), size()); in writeTo() 1328 return new String(bytes, getOffsetIntoBytes(), size(), charset); in toStringInternal() 1336 int offset = getOffsetIntoBytes(); in isValidUtf8() 1342 int index = getOffsetIntoBytes() + offset; in partialIsValidUtf8() 1405 int thisLimit = getOffsetIntoBytes() + length; in equalsRange() 1407 int thisIndex = getOffsetIntoBytes(), in equalsRange() [all …]
|