Searched refs:getTotalBytesWritten (Results 1 – 2 of 2) sorted by relevance
103 return Arrays.copyOf(bytes, stream.getTotalBytesWritten()); in toByteArray()382 assertEquals(value.length * 1024, coder.stream().getTotalBytesWritten());395 assertEquals((value.length * 1024) + stringSize, coder.stream().getTotalBytesWritten());485 assertEquals(3, codedStream.getTotalBytesWritten());
996 public abstract int getTotalBytesWritten(); in getTotalBytesWritten() method in CodedOutputStream1480 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.ArrayEncoder1503 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()1804 public int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.NioEncoder1846 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.AbstractBufferedEncoder