Class

breeze.io

RandomAccessFile

Related Doc: package io

Permalink

class RandomAccessFile extends DataInput with DataOutput with Closeable

Wrapper for java.io.RandomAccessFile.

The main differences to java.io.RandomAccessFile are (1) naming (e.g. default naming is readInt64 instead of readLong) (2) the readXXX(n: Int) functions, which will try to read n samples from the file. (Try to use these functions instead of reading multiple times in a loop with readXXX(), as each individual read is costly in terms of performance. * Each function throws a java.io.IOException (including subclass java.io.EOFException). These can be caught in Scala if necessary, to detect ends of files when reading, for example. Catching is obligatory in Java.

Type Java Type Scala Type Value Range
Int8: Signed 8-bit integer byte Byte [-128, 127]
UInt8: Unsigned 8-bit integer (int) (Int) [0, 255]
Int16: Signed 16-bit integer short Short [-32768, 32767]
UInt16: Unsigned 16-bit integer char Char [0, 65535]
Int32: Signed 32-bit integer int Int [-2147483648, 2147483647]
UInt32: Unsigned 32-bit integer (long) (Long) [0, 4294967295]
Int64: Signed 64-bit integer long Long [-9223372036854775808, 9223372036854775807]
UInt64: Unsigned 64-bit integer* (spire.math.Ulong) (spire.math.ULong) [0, 18446744073709551615]
UInt64Shifted: Unsigned 64-bit integer, shifted to signed range* (long)* (Long)* [0, 18446744073709551615*]

*note: given that the JVM/Scala does not have a UInt64 type, nor a Int128 to promote to, UInt64s are dealt with in two ways... (1) as a spire.math.ULong (which represents UInt64 wrapped as a regular Long where the negative values represent their unsigned two's complement equivalent:

Unsigned ULong value Internal Long (signed) wrapped by ULong
0 0
2^63-1 2^63-1
2^63 -2^63
2^64-1 -1

or (2) as a shifted Int64, where UInt64 is shifted down by 2^63 in its range to cover both positive and negative values of Int64 (this is compatible with + and -, for use as timestamps, for example, but is of course not compatible with * and / operations)

*implementation note: this class was not overriden from java.io.RandomAccessFile or implicitly "pimped," but instead passes through to java.io.RandomAccessFile. This is mainly because the java.io.RandomAccessFile.readXXX functions are declared final, and cannot be overridden.

Linear Supertypes
Closeable, AutoCloseable, DataOutput, DataInput, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomAccessFile
  2. Closeable
  3. AutoCloseable
  4. DataOutput
  5. DataInput
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomAccessFile(filename: String, arg0: String)(implicit converter: ByteConverter)

    Permalink
  2. new RandomAccessFile(file: File, arg0: String = "r")(implicit converter: ByteConverter = ByteConverterBigEndian)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def WriteChar(value: Array[Char]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Annotations
    @throws( classOf[IOException] )
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → Closeable → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getChannel: FileChannel

    Permalink

    Pass on to java.io.RandomAccessFile

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getFD: FileDescriptor

    Permalink

    Pass on to java.io.RandomAccessFile

  14. def getFilePointer: Long

    Permalink

    Pass on to java.io.RandomAccessFile

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def jumpBytes(n: Int): Unit

    Permalink

    like skipBytes but just jumps, does not return.

    like skipBytes but just jumps, does not return. For speed

  18. def length: Long

    Permalink

    Pass on to java.io.RandomAccessFile

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val rafObj: java.io.RandomAccessFile

    Permalink
  23. final def readBoolean(): Boolean

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  24. final def readByte(n: Int): Array[Byte]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt8

    Alias, in java style, for breeze.io.RandomAccessFile.readInt8

    Annotations
    @throws( classOf[IOException] )
  25. final def readByte(): Byte

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt8

    Alias, in java style, for breeze.io.RandomAccessFile.readInt8

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  26. final def readChar(n: Int): Array[Char]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16

    Annotations
    @throws( classOf[IOException] )
  27. final def readChar(): Char

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  28. final def readDouble(n: Int): Array[Double]

    Permalink

    Tries to read n Doubles from the current getFilePointer().

    Tries to read n Doubles from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  29. def readDouble(): Double

    Permalink

    Tries to read a Double at the current getFilePointer().

    Tries to read a Double at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  30. final def readFloat(n: Int): Array[Float]

    Permalink

    Tries to read n Floats from the current getFilePointer().

    Tries to read n Floats from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  31. def readFloat(): Float

    Permalink

    Tries to read a Float at the current getFilePointer().

    Tries to read a Float at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  32. def readFully(b: Array[Byte], off: Int, len: Int): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  33. def readFully(b: Array[Byte]): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  34. final def readInt(n: Int): Array[Int]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt32

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt32

    Annotations
    @throws( classOf[IOException] )
  35. final def readInt(): Int

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt32

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt32

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  36. final def readInt16(n: Int): Array[Short]

    Permalink

    Tries to read n Int16s from the current getFilePointer().

    Tries to read n Int16s from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  37. def readInt16(): Short

    Permalink

    Tries to read an Int16 at the current getFilePointer().

    Tries to read an Int16 at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  38. final def readInt32(n: Int): Array[Int]

    Permalink

    Tries to read n Int32s from the current getFilePointer().

    Tries to read n Int32s from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  39. final def readInt32(): Int

    Permalink

    Tries to read an Int32 at the current getFilePointer().

    Tries to read an Int32 at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  40. final def readInt64(n: Int): Array[Long]

    Permalink

    Tries to read n Int64s from the current getFilePointer().

    Tries to read n Int64s from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  41. def readInt64(): Long

    Permalink

    Tries to read an Int64 at the current getFilePointer().

    Tries to read an Int64 at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  42. final def readInt8(n: Int): Array[Byte]

    Permalink

    Tries to read n Int8s (Bytes) from the current getFilePointer().

    Tries to read n Int8s (Bytes) from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  43. final def readInt8(): Byte

    Permalink

    Tries to read an Int8 (Byte) at the current getFilePointer().

    Tries to read an Int8 (Byte) at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  44. def readLine(): String

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  45. final def readLong(n: Int): Array[Long]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt64

    Alias, in java style, for breeze.io.RandomAccessFile.readInt64

    Annotations
    @throws( classOf[IOException] )
  46. final def readLong(): Long

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt64

    Alias, in java style, for breeze.io.RandomAccessFile.readInt64

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  47. final def readShort(n: Int): Array[Short]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Annotations
    @throws( classOf[IOException] )
  48. final def readShort(): Short

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  49. final def readUInt16(n: Int): Array[Char]

    Permalink

    Tries to read n UInt16s (Chars) from the current getFilePointer() as Int32.

    Tries to read n UInt16s (Chars) from the current getFilePointer() as Int32. Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  50. def readUInt16(): Char

    Permalink

    Tries to read a UInt16 (Char) at the current getFilePointer().

    Tries to read a UInt16 (Char) at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  51. final def readUInt32(n: Int): Array[Long]

    Permalink

    Tries to read n UInt32s as Longs from the current getFilePointer().

    Tries to read n UInt32s as Longs from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  52. final def readUInt32(): Long

    Permalink

    Tries to read a UInt32 as Long at the current getFilePointer().

    Tries to read a UInt32 as Long at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  53. final def readUInt64(n: Int): Array[ULong]

    Permalink

    Tries to read n UInt64s from the current getFilePointer().

    Tries to read n UInt64s from the current getFilePointer(). Will throw an exception for UInt64 values which are larger than the maximum Long. Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  54. final def readUInt64(): ULong

    Permalink

    Tries to read a UInt64 as spire.math.ULong at the current getFilePointer().

    Tries to read a UInt64 as spire.math.ULong at the current getFilePointer(). Will throw an exception for UInt64 values which are larger than the maximum Long. Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  55. final def readUInt64Shifted(n: Int): Array[Long]

    Permalink

    Tries to read n UInt64s, shifted down in value to fit into Int64/Longs from the current getFilePointer().

    Tries to read n UInt64s, shifted down in value to fit into Int64/Longs from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  56. final def readUInt64Shifted(): Long

    Permalink

    Tries to read a UInt64, shifted down in value to fit into Int64/Long at the current getFilePointer().

    Tries to read a UInt64, shifted down in value to fit into Int64/Long at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  57. final def readUInt8(n: Int): Array[Short]

    Permalink

    Tries to read n UInt8s as Int from the current getFilePointer().

    Tries to read n UInt8s as Int from the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  58. final def readUInt8(): Int

    Permalink

    Tries to read a UInt8 as an Int16 at the current getFilePointer().

    Tries to read a UInt8 as an Int16 at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  59. def readUTF(): String

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  60. final def readUnsignedByte(n: Int): Array[Short]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt8

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt8

    Annotations
    @throws( classOf[IOException] )
  61. final def readUnsignedByte(): Int

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt8

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt8

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  62. final def readUnsignedShort(n: Int): Array[Int]

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16, but reads as Int.

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16, but reads as Int.

    Annotations
    @throws( classOf[IOException] )
  63. final def readUnsignedShort(): Int

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16, but reads as Int.

    Alias, in java style, for breeze.io.RandomAccessFile.readUInt16, but reads as Int.

    Definition Classes
    RandomAccessFile → DataInput
    Annotations
    @throws( classOf[IOException] )
  64. def seek(pos: Long): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

  65. def setLength(newLength: Long): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

  66. def skipBytes(n: Int): Int

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataInput
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  68. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  69. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. def write(b: Array[Byte], off: Int, len: Int): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  73. def write(b: Int): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  74. final def write(v: Array[Byte]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt8

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt8

    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  75. final def write(v: Byte): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt8

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt8

    Annotations
    @throws( classOf[IOException] )
  76. def writeBoolean(v: Boolean): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  77. def writeByte(v: Int): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  78. def writeBytes(s: String): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  79. final def writeChar(v: Int): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  80. final def writeChar(value: Char): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16

    Annotations
    @throws( classOf[IOException] )
  81. final def writeChars(value: String): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  82. def writeDouble(v: Array[Double]): Unit

    Permalink
    Annotations
    @throws( classOf[IOException] )
  83. def writeDouble(v: Double): Unit

    Permalink
    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  84. def writeFloat(v: Array[Float]): Unit

    Permalink
    Annotations
    @throws( classOf[IOException] )
  85. def writeFloat(v: Float): Unit

    Permalink
    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  86. final def writeInt(value: Array[Int]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt32

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt32

    Annotations
    @throws( classOf[IOException] )
  87. final def writeInt(value: Int): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt32

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt32

    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  88. final def writeInt16(v: Array[Short]): Unit

    Permalink

    Tries to write an array of Int16s (Shorts) to the current getFilePointer().

    Tries to write an array of Int16s (Shorts) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  89. final def writeInt16(v: Short): Unit

    Permalink

    Tries to write an Int16 (Short) to the current getFilePointer().

    Tries to write an Int16 (Short) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  90. final def writeInt32(v: Array[Int]): Unit

    Permalink

    Tries to write an array of Int32s (Ints) to the current getFilePointer().

    Tries to write an array of Int32s (Ints) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  91. final def writeInt32(v: Int): Unit

    Permalink

    Tries to write an Int32 (Int) to the current getFilePointer().

    Tries to write an Int32 (Int) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  92. final def writeInt64(v: Array[Long]): Unit

    Permalink

    Tries to write an array of Int64s (Longs) to the current getFilePointer().

    Tries to write an array of Int64s (Longs) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  93. final def writeInt64(v: Long): Unit

    Permalink

    Tries to write an Int64 (Long) to the current getFilePointer().

    Tries to write an Int64 (Long) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  94. final def writeInt8(v: Array[Byte]): Unit

    Permalink

    Tries to write n Int8s (Bytes) to the current getFilePointer().

    Tries to write n Int8s (Bytes) to the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  95. final def writeInt8(v: Byte): Unit

    Permalink

    Tries to write an Int8 (Byte) to the current getFilePointer().

    Tries to write an Int8 (Byte) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  96. final def writeLong(value: Array[Long]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt64

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt64

    Annotations
    @throws( classOf[IOException] )
  97. final def writeLong(value: Long): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt64

    Alias, in java style, for breeze.io.RandomAccessFile.writeInt64

    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  98. final def writeShort(v: Array[Short]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Annotations
    @throws( classOf[IOException] )
  99. final def writeShort(v: Int): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Definition Classes
    RandomAccessFile → DataOutput
    Annotations
    @throws( classOf[IOException] )
  100. final def writeShort(v: Short): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Alias, in java style, for breeze.io.RandomAccessFile.readInt16

    Annotations
    @throws( classOf[IOException] )
  101. final def writeUInt16(v: Array[Char]): Unit

    Permalink

    Tries to write an array of UInt16s (Chars) to the current getFilePointer().

    Tries to write an array of UInt16s (Chars) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  102. final def writeUInt16(v: Char): Unit

    Permalink

    Tries to write a UInt16 (Char) to the current getFilePointer().

    Tries to write a UInt16 (Char) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  103. final def writeUInt32(v: Array[Long]): Unit

    Permalink

    Tries to write an array of Int32s (Ints) to the current getFilePointer().

    Tries to write an array of Int32s (Ints) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  104. final def writeUInt32(v: Long): Unit

    Permalink

    Tries to write a UInt32 (represented by Int) to the current getFilePointer().

    Tries to write a UInt32 (represented by Int) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  105. final def writeUInt64(v: Array[ULong]): Unit

    Permalink

    Tries to write an array of UInt64s (input as spire.math.ULong) to the current getFilePointer().

    Tries to write an array of UInt64s (input as spire.math.ULong) to the current getFilePointer(). Will throw error if value < 0.

    Annotations
    @throws( classOf[IOException] )
  106. final def writeUInt64(v: ULong): Unit

    Permalink

    Tries to write an UInt64 (described as Long) to the current getFilePointer().

    Tries to write an UInt64 (described as Long) to the current getFilePointer(). Will throw error if value < 0.

    Annotations
    @throws( classOf[IOException] )
  107. final def writeUInt64Shifted(v: Array[Long]): Unit

    Permalink

    Tries to write an array of UInt64Shifted (shifted down to Long range) to the current getFilePointer().

    Tries to write an array of UInt64Shifted (shifted down to Long range) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  108. final def writeUInt64Shifted(v: Long): Unit

    Permalink

    Tries to write an UInt64Shifted (shifted down to Long range) to the current getFilePointer().

    Tries to write an UInt64Shifted (shifted down to Long range) to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  109. final def writeUInt8(values: Array[Short]): Unit

    Permalink

    Tries to write n UInt8s (Bytes) at the current getFilePointer().

    Tries to write n UInt8s (Bytes) at the current getFilePointer(). Will throw an exception if it encounters an end of file.

    Annotations
    @throws( classOf[IOException] )
  110. final def writeUInt8(value: Short): Unit

    Permalink

    Tries to write a UInt8 to the current getFilePointer().

    Tries to write a UInt8 to the current getFilePointer().

    Annotations
    @throws( classOf[IOException] )
  111. def writeUTF(value: String): Unit

    Permalink

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

    Definition Classes
    RandomAccessFile → DataOutput
  112. final def writeUnsignedByte(values: Array[Short]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt8

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt8

    Annotations
    @throws( classOf[IOException] )
  113. final def writeUnsignedByte(value: Short): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt8

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt8

    Annotations
    @throws( classOf[IOException] )
  114. final def writeUnsignedShort(value: Array[Int]): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16, but reads as Int.

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16, but reads as Int.

    Annotations
    @throws( classOf[IOException] )
  115. final def writeUnsignedShort(value: Int): Unit

    Permalink

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16, but reads as Int.

    Alias, in java style, for breeze.io.RandomAccessFile.writeUInt16, but reads as Int.

    Annotations
    @throws( classOf[IOException] )

Inherited from Closeable

Inherited from AutoCloseable

Inherited from DataOutput

Inherited from DataInput

Inherited from AnyRef

Inherited from Any

Ungrouped