# Class: com.pnfsoftware.jeb.util.io.ChannelUtil

Utility methods for [Channel](Channel)s, in particular, [SeekableByteChannel](SeekableByteChannel)s.

## Constructor: ChannelUtil


## Static Method: get
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `byte`


## Static Method: get
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `byte`


## Static Method: getAllFrom
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `byte[]`


## Static Method: getBEInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `int`


## Static Method: getBEInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `int`


## Static Method: getBELong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `long`


## Static Method: getBELong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `long`


## Static Method: getBEShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `short`


## Static Method: getBEShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `short`


## Static Method: getBytes
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `size`, type: `int`
- return type: `byte[]`


## Static Method: getBytes
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `size`, type: `int`
- return type: `byte[]`


## Static Method: getBytesUntil
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `stopper`, type: `int`
- parameter: `maxsize`, type: `int`
- parameter: `throwOnEOS`, type: `boolean`
- return type: `byte[]`


## Static Method: getInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `int`


## Static Method: getInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `int`


## Static Method: getLEInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `int`


## Static Method: getLEInt
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `int`


## Static Method: getLELong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `long`


## Static Method: getLELong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `long`


## Static Method: getLEShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- return type: `short`


## Static Method: getLEShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- return type: `short`


## Static Method: getLong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `long`


## Static Method: getLong
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `long`


## Static Method: getShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `short`


## Static Method: getShort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `endianness`, type: `java.nio.ByteOrder`
- return type: `short`


## Static Method: read
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `size`, type: `int`
- parameter: `isBigEndian`, type: `boolean`
- return type: `java.nio.ByteBuffer`


## Static Method: read
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `size`, type: `int`
- parameter: `isBigEndian`, type: `boolean`
- parameter: `buffer`, type: `java.nio.ByteBuffer`
- return type: `java.nio.ByteBuffer`


## Static Method: readBestEffort
- parameter: `channel`, type: `java.nio.channels.SeekableByteChannel`
- parameter: `position`, type: `long`
- parameter: `size`, type: `int`
- parameter: `isBigEndian`, type: `boolean`
- parameter: `buffer`, type: `java.nio.ByteBuffer`
- return type: `java.nio.ByteBuffer`


