congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Posix.preadBytes
Code IndexAdd Tabnine to your IDE (free)

How to use
preadBytes
method
in
libcore.io.Posix

Best Java code snippets using libcore.io.Posix.preadBytes (Showing top 14 results out of 315)

origin: robovm/robovm

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: robovm/robovm

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: MobiVM/robovm

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: ibinti/bugvm

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: com.mobidevelop.robovm/robovm-rt

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: com.bugvm/bugvm-rt

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: com.gluonhq/robovm-rt

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: FlexoVM/flexovm

public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
  // This indirection isn't strictly necessary, but ensures that our public interface is type safe.
  return preadBytes(fd, bytes, byteOffset, byteCount, offset);
}
private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
origin: MobiVM/robovm

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: ibinti/bugvm

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: com.bugvm/bugvm-rt

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: com.mobidevelop.robovm/robovm-rt

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: FlexoVM/flexovm

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
origin: com.gluonhq/robovm-rt

public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
  if (buffer.isDirect()) {
    return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
  } else {
    return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
  }
}
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
libcore.ioPosixpreadBytes

Popular methods of Posix

  • pwriteBytes
  • readBytes
  • recvfromBytes
  • sendtoBytes
  • umaskImpl
  • writeBytes

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now