de.esprit.appsuite.nio.binary

## Interface BinaryChannel

- All Superinterfaces:
    SimpleLogSupport
  All Known Implementing Classes:
    BinaryDataReader

      public interface BinaryChannel
      extends SimpleLogSupport

  This is a helper interface to make a random access file looking the same for a binary reader and a binary writer.
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.nio.ByteOrder` | `getByteOrder()` This is supposed to be the central place where the byte order is stored.
    `int` | `read(ByteBufferWrapper wrapper)`
    `void` | `setByteOrder(java.nio.ByteOrder order)`

    - ### Methods inherited from interface de.esprit.common.log.SimpleLogSupport

      `getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel`

- - ### Method Detail

    - #### read

          int read(ByteBufferWrapper wrapper)
                   throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getByteOrder

          java.nio.ByteOrder getByteOrder()
                                          throws java.io.IOException

      This is supposed to be the central place where the byte order is stored.
      Throws:
        `java.io.IOException`

    - #### setByteOrder

          void setByteOrder(java.nio.ByteOrder order)

Copyright © 2014 EsprIT-Systems. All Rights Reserved.