@Override
    public String readObject(ByteBuffer data, Class c) throws IOException {
        return readString(data);
    }
String serializer.

@author Lars Wesselius, Paul Speed
jme3-networking/src/main/java/com/jme3/network/serializing/serializers/StringSerializer.java