Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String senddata = "?status";
- ByteBuffer B = ByteBuffer.allocate(50);
- B.putInt(0x00);
- B.putInt(0x83);
- B.putChar('>');
- B.putChar('H');
- B.put(senddata.getBytes());
- B.putInt(0x00);
- B.putInt(0x00);
- B.putInt(0x00);
- B.putInt(0x00);
- B.putInt(0x00);
- B.put(senddata.getBytes());
- B.putInt(0x00);
Add Comment
Please, Sign In to add comment