Implement the Parcelable interface
dest.writeByte(groupFormed ? (byte)1 : (byte)0);
dest.writeByte(isGroupOwner ? (byte)1 : (byte)0);
if (groupOwnerAddress != null) {
dest.writeByte((byte)1);
dest.writeByteArray(groupOwnerAddress.getAddress());
} else {
dest.writeByte((byte)0);
}