Sleuth Kit Java Bindings (JNI)  4.12.1
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.ContentProviderStream Interface Reference

Inherits AutoCloseable.

Public Member Functions

int read (byte[] buf, long offset, long len) throws TskCoreException
 

Detailed Description

Custom provider for content bytes.

Definition at line 25 of file ContentProviderStream.java.

Member Function Documentation

int org.sleuthkit.datamodel.ContentProviderStream.read ( byte[]  buf,
long  offset,
long  len 
) throws TskCoreException

Reads data that this content object is associated with (file contents, volume contents, etc.).

Parameters
bufa character array of data (in bytes) to copy read data to
offsetbyte offset in the content to start reading from
lennumber of bytes to read into buf.
Returns
num of bytes read, or -1 on error
Exceptions
TskCoreExceptionif critical error occurred during read in the tsk core

Referenced by org.sleuthkit.datamodel.AbstractFile.read().


The documentation for this interface was generated from the following file:

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.