src/main/java/com/io7m/aeron_guide/take4/aeron_messaging/common/MessagesHelper.java
/**
     * Extract a UTF-8 encoded string from the given buffer.
     *
     * @param buffer The buffer
     * @param offset The offset from the start of the buffer
     * @param length The number of bytes to extract
     *
     * @return A string
     */
Extract a UTF-8 encoded string from the given buffer.
@param buffer The buffer
@param offset The offset from the start of the buffer
@param length The number of bytes to extract

@return A string
Extract a UTF - 8 encoded string from the given buffer . @param buffer The buffer @param offset The offset from the start of the buffer @param length The number of bytes to extract @return A string
public static String parse_message_utf8(
            final DirectBuffer buffer,
            final int offset,
            final int length) {
        Objects.requireNonNull(buffer, "buffer");
        final byte[] data = new byte[length];
        buffer.getBytes(offset, data);
        return new String(data, UTF_8);
    }
public static String parse_message_utf8 ( final DirectBuffer buffer , final int offset , final int length ) { Objects . requireNonNull ( buffer , "buffer" ) ; final byte [ ] data = new byte [ length ] ; buffer . getBytes ( offset , data ) ; return new String ( data , UTF_8 ) ; }
Extract a UTF-8 encoded string from the given buffer.
Extract a UTF - 8 encoded string from the given buffer .