breeze.io

RandomAccessFile

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def WriteChar(value: Array[Char]): Unit

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

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

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

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

    Pass on to java.io.RandomAccessFile

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

    Definition Classes
    AnyRef → Any
  15. def getFD: FileDescriptor

    Pass on to java.io.RandomAccessFile

  16. def getFilePointer: Long

    Pass on to java.io.RandomAccessFile

  17. def hashCode(): Int

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

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

    like skipBytes but just jumps, does not return.

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

  20. def length: Long

    Pass on to java.io.RandomAccessFile

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. val rafObj: java.io.RandomAccessFile

  25. final def readBoolean(): Boolean

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

    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] )
  28. final def readChar(n: Int): Array[Char]

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

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

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

    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] )
  30. final def readDouble(n: Int): Array[Double]

    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] )
  31. def readDouble(): Double

    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] )
  32. final def readFloat(n: Int): Array[Float]

    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] )
  33. def readFloat(): Float

    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] )
  34. def readFully(b: Array[Byte], off: Int, len: Int): Unit

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

    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] )
  38. final def readInt16(n: Int): Array[Short]

    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] )
  39. def readInt16(): Short

    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] )
  40. final def readInt32(n: Int): Array[Int]

    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] )
  41. final def readInt32(): Int

    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] )
  42. final def readInt64(n: Int): Array[Long]

    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] )
  43. def readInt64(): Long

    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] )
  44. final def readInt8(n: Int): Array[Byte]

    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] )
  45. final def readInt8(): Byte

    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] )
  46. def readLine(): String

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

    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] )
  49. final def readShort(n: Int): Array[Short]

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

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

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

    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] )
  51. final def readUInt16(n: Int): Array[Char]

    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] )
  52. def readUInt16(): Char

    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] )
  53. final def readUInt32(n: Int): Array[Long]

    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] )
  54. final def readUInt32(): Long

    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] )
  55. final def readUInt64(n: Int): Array[ULong]

    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] )
  56. final def readUInt64(): ULong

    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] )
  57. final def readUInt64Shifted(n: Int): Array[Long]

    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] )
  58. final def readUInt64Shifted(): Long

    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] )
  59. final def readUInt8(n: Int): Array[Short]

    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] )
  60. final def readUInt8(): Int

    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] )
  61. def readUTF(): String

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

    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] )
  64. final def readUnsignedShort(n: Int): Array[Int]

    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] )
  65. final def readUnsignedShort(): Int

    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] )
  66. def seek(pos: Long): Unit

    Pass on to java.io.RandomAccessFile

  67. def setLength(newLength: Long): Unit

    Pass on to java.io.RandomAccessFile

  68. def skipBytes(n: Int): Int

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    Definition Classes
    AnyRef
  70. def toString(): String

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

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

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

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    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] )
  77. final def write(v: Byte): Unit

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

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

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

    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] )
  82. final def writeChar(value: Char): Unit

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

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

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

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

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

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

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

    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] )
  90. final def writeInt16(v: Array[Short]): Unit

    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] )
  91. final def writeInt16(v: Short): Unit

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

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

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

    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] )
  93. final def writeInt32(v: Int): Unit

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

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

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

    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] )
  95. final def writeInt64(v: Long): Unit

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

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

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

    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] )
  97. final def writeInt8(v: Byte): Unit

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

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

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

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

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

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

    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] )
  100. final def writeShort(v: Array[Short]): Unit

    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 writeShort(v: Int): Unit

    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] )
  102. final def writeShort(v: Short): Unit

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

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

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

    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] )
  104. final def writeUInt16(v: Char): Unit

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

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

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

    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] )
  106. final def writeUInt32(v: Long): Unit

    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] )
  107. final def writeUInt64(v: Array[ULong]): Unit

    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] )
  108. final def writeUInt64(v: ULong): Unit

    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] )
  109. final def writeUInt64Shifted(v: Array[Long]): Unit

    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] )
  110. final def writeUInt64Shifted(v: Long): Unit

    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] )
  111. final def writeUInt8(values: Array[Short]): Unit

    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] )
  112. final def writeUInt8(value: Short): Unit

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

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

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

    Pass on to java.io.RandomAccessFile

    Pass on to java.io.RandomAccessFile

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

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

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

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

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

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

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

    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] )
  117. final def writeUnsignedShort(value: Int): Unit

    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