jetbrains.buildServer.util.PEReader
Class BinaryUtils

java.lang.Object
  extended by jetbrains.buildServer.util.PEReader.BinaryUtils

public class BinaryUtils
extends java.lang.Object


Constructor Summary
BinaryUtils()
           
 
Method Summary
static long dwordAlign(long off)
           
static java.lang.String readFixedByteChars(java.io.RandomAccessFile raf, int count)
           
static int readUInt16(java.io.RandomAccessFile raf)
           
static long readUInt32(java.io.RandomAccessFile raf)
           
static int readUInt8(java.io.RandomAccessFile raf)
           
static java.lang.String readWCHAR(java.io.RandomAccessFile raf, int maxlen)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryUtils

public BinaryUtils()
Method Detail

readUInt32

public static long readUInt32(java.io.RandomAccessFile raf)
                       throws java.io.IOException
Throws:
java.io.IOException

readUInt16

public static int readUInt16(java.io.RandomAccessFile raf)
                      throws java.io.IOException
Throws:
java.io.IOException

readFixedByteChars

public static java.lang.String readFixedByteChars(java.io.RandomAccessFile raf,
                                                  int count)
                                           throws java.io.IOException
Throws:
java.io.IOException

readWCHAR

public static java.lang.String readWCHAR(java.io.RandomAccessFile raf,
                                         int maxlen)
                                  throws java.io.IOException
Throws:
java.io.IOException

readUInt8

public static int readUInt8(java.io.RandomAccessFile raf)
                     throws java.io.IOException
Throws:
java.io.IOException

dwordAlign

public static long dwordAlign(long off)