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

Read\-only, seekable, byte\-array backed channel.

## Constructor: ArraySeekableByteChannel
- parameter: `data`, type: `byte[]`

Description: Create a read\-only, seekable byte channel backed by a byte array.
parameter: data: input data to be wrapped

## Constructor: ArraySeekableByteChannel
- parameter: `data`, type: `byte[]`
- parameter: `offset`, type: `int`
- parameter: `length`, type: `int`

Description: Create a read\-only, seekable byte channel backed by a byte array.
parameter: data: input data to be wrapped
parameter: offset: start offset
parameter: length: wrapped size

## Method: close


## Method: isOpen
- return type: `boolean`


## Method: position
- return type: `long`


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


## Method: read
- parameter: `dst`, type: `java.nio.ByteBuffer`
- return type: `int`


## Method: size
- return type: `long`


## Method: truncate
- parameter: `size`, type: `long`
- return type: `java.nio.channels.SeekableByteChannel`


## Method: write
- parameter: `src`, type: `java.nio.ByteBuffer`
- return type: `int`


