Code example for Charset

Methods: decode

0
	} 
 
	@Override 
	public String deserialise(ByteBuffer message) {
		// UTF8 string serialisation. 
		return utf8.decode(message).toString();
	} 
	 
} 
Connect your IDE to all the code out there  Get Codota for Java