public class

Packet

extends Object
java.lang.Object
   ↳ com.sun.tools.jdi.Packet

Summary

Constants
short NoFlags
short Reply
short ReplyNoError
Public Methods
static Packet fromByteArray(byte[] b)
Create a packet from its byte array representation
byte[] toByteArray()
Return byte representation of the packet
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final short NoFlags

Constant Value: 0 (0x00000000)

public static final short Reply

Constant Value: 128 (0x00000080)

public static final short ReplyNoError

Constant Value: 0 (0x00000000)

Public Methods

public static Packet fromByteArray (byte[] b)

Create a packet from its byte array representation

Throws
IOException

public byte[] toByteArray ()

Return byte representation of the packet