Datagram
Date: 2016-06-24

javax.microedition.io

## Interface Datagram

- All Superinterfaces:
    DataInput, DataOutput

      public interface Datagram
      extends DataInput, DataOutput

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAddress()`
    `byte[]` | `getData()`
    `int` | `getLength()`
    `int` | `getOffset()`
    `void` | `reset()`
    `void` | `setAddress(Datagram var0)`
    `void` | `setAddress(String var0)`
    `void` | `setData(byte[] var0, int var1, int var2)`
    `void` | `setLength(int var0)`

    - ### Methods inherited from interface java.io.DataInput

      `readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes`

    - ### Methods inherited from interface java.io.DataOutput

      `write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF`

- - ### Method Detail

    - #### getAddress

          String getAddress()

    - #### getData

          byte[] getData()

    - #### getLength

          int getLength()

    - #### getOffset

          int getOffset()

    - #### reset

          void reset()

    - #### setAddress

          void setAddress(String var0)
                          throws IOException

      Throws:
        `IOException`

    - #### setAddress

          void setAddress(Datagram var0)

    - #### setData

          void setData(byte[] var0,
                     int var1,
                     int var2)

    - #### setLength

          void setLength(int var0)