i have create a `protobuf` sample code in android as follows

```
Person john =
  Person.newBuilder()
    .setId(1234)
    .setName("John Doe")
    .setEmail("jdoe@example.com")
    .addPhone(
      Person.PhoneNumber.newBuilder()
        .setNumber("555-4321")
        .setType(Person.PhoneType.HOME))
    .build();

```

now i want to send this `john` object as a part of `xml` building block over network

so far i have seen following methods so that i can send `bytes` over network

```
john.toByteArray() and john.toByteString() 

```

but i think when i will embed into xml tag as follows it will be the string representation only and from that i can not get the data back 

```
"<data>" + john.toByteArray() + "</data>"

```

so how can i pass the `protobuf` message with `XML` ?

***note:** i don't want to use the `base64` encoding as it will eventually increasing the size of a block*