ketai.net

## Class SLIPFrame

- java.lang.Object
- - ketai.net.SLIPFrame

-     public class SLIPFrame
      extends java.lang.Object

  The Class SLIPFrame.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static byte` | `END` The end.
    `static byte` | `ESC` The esc.
    `static byte` | `ESC_END` The esc end.
    `static byte` | `ESC_ESC` The esc esc.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SLIPFrame()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `createFrame(byte[] _data)` Creates a SLIP formatted data frame.
    `static byte[]` | `parseFrame(byte[] data)` Parses a SLIP formatted frame and provides the data received.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### END

          public static byte END

      The end.

    - #### ESC

          public static byte ESC

      The esc.

    - #### ESC_END

          public static byte ESC_END

      The esc end.

    - #### ESC_ESC

          public static byte ESC_ESC

      The esc esc.

  - ### Constructor Detail

    - #### SLIPFrame

          public SLIPFrame()

  - ### Method Detail

    - #### createFrame

          public static byte[] createFrame(byte[] _data)

      Creates a SLIP formatted data frame.
      Parameters:
        `_data` - the _data
      Returns:
        the byte[]

    - #### parseFrame

          public static byte[] parseFrame(byte[] data)

      Parses a SLIP formatted frame and provides the data received.
      Parameters:
        `data` - the data
      Returns:
        the byte[]