### Question:
BufferUtils { public static String readString(final Buffer buffer, final int[] location) { final short size = buffer.getShort(location[0]); int start = location[0] + 2; int end = start + size; final String utf_8 = buffer.getString(start, end, StandardCharsets.UTF_8.displayName()); location[0] = end; return utf_8; }  static void writeString(final Buffer buffer, final String value); static void writeMap(final Buffer buffer, final MultiMap<String, String> params); static String readString(final Buffer buffer, final int[] location); static MultiMap<String, String> readMap(Buffer buffer, int[] locationHolder);  }### Answer:
@Test public void testReadString() throws Exception { Buffer buffer = Buffer.buffer(); BufferUtils.writeString(buffer, "hi mom"); int[] location = new int[]{0}; String backOut = BufferUtils.readString(buffer, location); ok = backOut.equals("hi mom") || die(); }