congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IoBridge.write
Code IndexAdd Tabnine to your IDE (free)

How to use
write
method
in
libcore.io.IoBridge

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

origin: robovm/robovm

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: robovm/robovm

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: MobiVM/robovm

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: com.mobidevelop.robovm/robovm-rt

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: com.gluonhq/robovm-rt

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: ibinti/bugvm

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: com.bugvm/bugvm-rt

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: FlexoVM/flexovm

@Override
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
}
origin: MobiVM/robovm

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: ibinti/bugvm

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: com.bugvm/bugvm-rt

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: com.gluonhq/robovm-rt

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
origin: FlexoVM/flexovm

/**
 * Writes {@code byteCount} bytes from the byte array {@code buffer} to this
 * file, starting at the current file pointer and using {@code byteOffset} as
 * the first position within {@code buffer} to get bytes.
 *
 * @throws IndexOutOfBoundsException
 *             if {@code byteCount < 0}, {@code byteOffset < 0} or {@code byteCount +
 *             byteOffset} is greater than the size of {@code buffer}.
 * @throws IOException
 *             if an I/O error occurs while writing to this file.
 */
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
  IoBridge.write(fd, buffer, byteOffset, byteCount);
  // if we are in "rws" mode, attempt to sync file+metadata
  if (syncMetadata) {
    fd.sync();
  }
}
libcore.ioIoBridgewrite

Javadoc

java.io always writes every byte it's asked to, or fails with an error. (That is, unlike Unix it never just writes as many bytes as happens to be convenient.)

Popular methods of IoBridge

  • available
  • bind
  • booleanFromInt
  • booleanToInt
  • closeSocket
  • connect
    Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'. Use timeoutMs == 0 fo
  • connectDetail
  • connectErrno
  • getSocketLocalAddress
  • getSocketLocalPort
  • getSocketOption
    java.net has its own socket options similar to the underlying Unix ones. We paper over the differenc
  • getSocketOptionErrno
  • getSocketOption,
  • getSocketOptionErrno,
  • isConnected,
  • maybeThrowAfterRecvfrom,
  • maybeThrowAfterSendto,
  • open,
  • postRecvfrom,
  • read,
  • recvfrom,
  • sendto

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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