public class

ChannelHelper

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.io.ChannelHelper

Class Overview

Helper for Channels, in particular, SeekableByteChannels.

The provided channel is neither close nor position-verified.

Summary

Public Constructors
ChannelHelper(SeekableByteChannel channel, Endianness endianness)
Public Methods
byte get(long position)
byte get()
int getInt()
int getInt(long position)
long getLong()
long getLong(long position)
short getShort()
short getShort(long position)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ChannelHelper (SeekableByteChannel channel, Endianness endianness)

Public Methods

public byte get (long position)

Throws
IOException

public byte get ()

Throws
IOException

public int getInt ()

Throws
IOException

public int getInt (long position)

Throws
IOException

public long getLong ()

Throws
IOException

public long getLong (long position)

Throws
IOException

public short getShort ()

Throws
IOException

public short getShort (long position)

Throws
IOException