Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/java/nio/channels/SeekableByteChannel.fz


# Fuzion interface to instance members of Java instance class 'java.nio.channels.SeekableByteChannel'
#
# !!!!!!  DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called 
# as follows:
#
#   ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.java.nio.channels.SeekableByteChannel(forbidden void) ref : fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public abstract long java.nio.channels.SeekableByteChannel.position() throws java.io.IOException':
  #
  public position outcome (i64) =>
    fuzion.java.call_virtual (outcome (i64)) "java.nio.channels.SeekableByteChannel" "position" "()J" SeekableByteChannel.this []

  # call Java instance method 'public abstract java.nio.channels.SeekableByteChannel java.nio.channels.SeekableByteChannel.position(long) throws java.io.IOException':
  #
  public position_J(arg0 i64) outcome (Java.java.nio.channels.SeekableByteChannel) =>
    fuzion.java.call_virtual (outcome (Java.java.nio.channels.SeekableByteChannel)) "java.nio.channels.SeekableByteChannel" "position" "(J)Ljava/nio/channels/SeekableByteChannel;" SeekableByteChannel.this [(fuzion.java.i64_to_java_object Java.java.nio.channels.SeekableByteChannel.position_J.this.arg0)]

  # call Java instance method 'public abstract int java.nio.channels.SeekableByteChannel.read(java.nio.ByteBuffer) throws java.io.IOException':
  #
  public read_Ljava_7_nio_7_ByteBuffer_s_(arg0 Java.java.nio.ByteBuffer) outcome (i32) =>
    fuzion.java.call_virtual (outcome (i32)) "java.nio.channels.SeekableByteChannel" "read" "(Ljava/nio/ByteBuffer;)I" SeekableByteChannel.this [(Java.java.nio.channels.SeekableByteChannel.read_Ljava_7_nio_7_ByteBuffer_s_.this.arg0)]

  # call Java instance method 'public abstract long java.nio.channels.SeekableByteChannel.size() throws java.io.IOException':
  #
  public size outcome (i64) =>
    fuzion.java.call_virtual (outcome (i64)) "java.nio.channels.SeekableByteChannel" "size" "()J" SeekableByteChannel.this []

  # call Java instance method 'public abstract java.nio.channels.SeekableByteChannel java.nio.channels.SeekableByteChannel.truncate(long) throws java.io.IOException':
  #
  public truncate_J(arg0 i64) outcome (Java.java.nio.channels.SeekableByteChannel) =>
    fuzion.java.call_virtual (outcome (Java.java.nio.channels.SeekableByteChannel)) "java.nio.channels.SeekableByteChannel" "truncate" "(J)Ljava/nio/channels/SeekableByteChannel;" SeekableByteChannel.this [(fuzion.java.i64_to_java_object Java.java.nio.channels.SeekableByteChannel.truncate_J.this.arg0)]

  # call Java instance method 'public abstract int java.nio.channels.SeekableByteChannel.write(java.nio.ByteBuffer) throws java.io.IOException':
  #
  public write_Ljava_7_nio_7_ByteBuffer_s_(arg0 Java.java.nio.ByteBuffer) outcome (i32) =>
    fuzion.java.call_virtual (outcome (i32)) "java.nio.channels.SeekableByteChannel" "write" "(Ljava/nio/ByteBuffer;)I" SeekableByteChannel.this [(Java.java.nio.channels.SeekableByteChannel.write_Ljava_7_nio_7_ByteBuffer_s_.this.arg0)]

  # short-hand to call Java method 'public abstract java.nio.channels.SeekableByteChannel java.nio.channels.SeekableByteChannel.position(long) throws java.io.IOException':
  #
  public position(arg0 i64) (outcome (Java.java.nio.channels.SeekableByteChannel)) =>
    position_J Java.java.nio.channels.SeekableByteChannel.position.this.arg0

  # short-hand to call Java method 'public abstract int java.nio.channels.SeekableByteChannel.read(java.nio.ByteBuffer) throws java.io.IOException':
  #
  public read(arg0 Java.java.nio.ByteBuffer) (outcome (i32)) =>
    read_Ljava_7_nio_7_ByteBuffer_s_ Java.java.nio.channels.SeekableByteChannel.read.this.arg0

  # short-hand to call Java method 'public abstract java.nio.channels.SeekableByteChannel java.nio.channels.SeekableByteChannel.truncate(long) throws java.io.IOException':
  #
  public truncate(arg0 i64) (outcome (Java.java.nio.channels.SeekableByteChannel)) =>
    truncate_J Java.java.nio.channels.SeekableByteChannel.truncate.this.arg0

  # short-hand to call Java method 'public abstract int java.nio.channels.SeekableByteChannel.write(java.nio.ByteBuffer) throws java.io.IOException':
  #
  public write(arg0 Java.java.nio.ByteBuffer) (outcome (i32)) =>
    write_Ljava_7_nio_7_ByteBuffer_s_ Java.java.nio.channels.SeekableByteChannel.write.this.arg0