mapped byte buffer to string charset code example Example: feignException byteBuffer to string String s = StandardCharsets.UTF_8.decode(byteBuffer).toString();