Searched refs:srcBuf (Results 1 – 2 of 2) sorted by relevance
243 public void writeData(long offset, ByteBuffer srcBuf) throws IOException { in writeData() argument245 int len = srcBuf.remaining(); in writeData()261 srcBuf.limit(srcBuf.position() + size); in writeData()263 device.write(getDevOffset(chain[chainIdx], clusOfs), srcBuf); in writeData() local272 srcBuf.limit(srcBuf.position() + size); in writeData()274 device.write(getDevOffset(chain[chainIdx], 0), srcBuf); in writeData() local
144 public void write(long offset, ByteBuffer srcBuf) in write() argument151 final long lastByte = offset + srcBuf.remaining(); in write()157 chain.writeData(offset, srcBuf); in write()