Example usage for org.apache.hadoop.util StringUtils byteToHexString

List of usage examples for org.apache.hadoop.util StringUtils byteToHexString

Introduction

In this page you can find the example usage for org.apache.hadoop.util StringUtils byteToHexString.

Prototype

public static String byteToHexString(byte[] bytes, int start, int end) 

Source Link

Document

Given an array of bytes it will convert the bytes to a hex string representation of the bytes

Usage

From source file:org.apache.flink.runtime.state.CheckpointStorageLocationReference.java

License:Apache License

@Override
public String toString() {
    return encodedReference == null ? "(default)"
            : StringUtils.byteToHexString(encodedReference, 0, encodedReference.length);
}