Searched refs:codedStream (Results 1 – 3 of 3) sorted by relevance
469 CodedOutputStream codedStream = CodedOutputStream.newInstance(buffer); in testWriteToByteBuffer() local473 codedStream.writeRawByte((byte) 1); in testWriteToByteBuffer()478 codedStream.writeRawBytes(data); in testWriteToByteBuffer()481 codedStream.writeRawByte((byte) 3); in testWriteToByteBuffer()483 codedStream.flush(); in testWriteToByteBuffer()503 CodedOutputStream codedStream = CodedOutputStream.newInstance(outputStream); in testWriteByteBuffer() local507 codedStream.writeRawBytes(byteBuffer); in testWriteByteBuffer()513 codedStream.writeRawBytes(ByteBuffer.wrap(value, 2, 1).slice()); in testWriteByteBuffer()515 codedStream.flush(); in testWriteByteBuffer()
771 …google::protobuf::io::CodedInputStream codedStream(binaryContent.data(), static_cast<int>(binaryCo… in LoadModelFromBinary() local772 codedStream.SetTotalBytesLimit(INT_MAX); in LoadModelFromBinary()773 bool success = modelProto.get()->ParseFromCodedStream(&codedStream); in LoadModelFromBinary()797 google::protobuf::io::CodedInputStream codedStream(&inStream); in LoadModelFromBinaryFile() local798 codedStream.SetTotalBytesLimit(INT_MAX); in LoadModelFromBinaryFile()799 bool success = modelProto.get()->ParseFromCodedStream(&codedStream); in LoadModelFromBinaryFile()