MCPcopy Index your code
hub / github.com/facebook/SoLoader / read

Method read

java/com/facebook/soloader/ElfZipFileChannel.java:87–90  ·  view source on GitHub ↗

Reads a sequence of bytes from this channel into the given buffer. Bytes are read starting at this channel's current file position, and then the file position is updated with the number of bytes actually read. @return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-

(ByteBuffer dst)

Source from the content-addressed store, hash-verified

85 * @return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream
86 */
87 @Override
88 public int read(ByteBuffer dst) throws IOException {
89 return read(dst, mPos);
90 }
91
92 /**
93 * Reads a sequence of bytes from this channel into the given buffer, starting at the given file

Callers

nothing calls this directly

Calls 3

positionMethod · 0.95
readMethod · 0.65
positionMethod · 0.65

Tested by

no test coverage detected