Dotty Documentation

0.6.0-bin-SNAPSHOT

class AbstractFileReader
extends Object

This class reads files byte per byte. Only used by ClassFileParser

[-] Constructors

AbstractFileReader ( file: AbstractFile )

[-] Members

[+] var bp : Int

the current input pointer

[+] val buf : Array [ Byte ]

the buffer containing the file

[+] val file : AbstractFile
[+] def bp_= ( x$1: Int ) : Unit

the current input pointer

[+] @throws def byteAt ( pos: Int ) : Byte

return byte at offset 'pos'

[+] def getChar ( mybp: Int ) : Char

extract a character at position bp from buf

[+] def getDouble ( mybp: Int ) : Double

extract a double at position bp from buf

[+] def getFloat ( mybp: Int ) : Float

extract a float at position bp from buf

[+] def getInt ( mybp: Int ) : Int

extract an integer at position bp from buf

[+] def getLong ( mybp: Int ) : Long

extract a long integer at position bp from buf

[+] @throws def nextByte : Byte

read a byte

[+] def nextBytes ( len: Int ) : Array [ Byte ]

read some bytes

[+] def nextChar : Char

read a character

[+] def nextInt : Int

read an integer

[+] def skip ( n: Int ) : Unit

skip next 'n' bytes