- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for byteString (0.15 sec)
-
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
webSocket.send("Hello..."); webSocket.send("...World!"); webSocket.send(ByteString.decodeHex("deadbeef")); webSocket.close(1000, "Goodbye, World!"); } @Override public void onMessage(WebSocket webSocket, String text) { System.out.println("MESSAGE: " + text); } @Override public void onMessage(WebSocket webSocket, ByteString bytes) { System.out.println("MESSAGE: " + bytes.hex()); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
// 2. the order is deterministic and easy to understand, for debugging purpose. @SuppressWarnings("ComparableType") private static final class ByToString implements Comparable<Object>, Serializable { private static final ByToString INSTANCE = new ByToString(); @Override public int compareTo(Object o) { return toString().compareTo(o.toString()); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
// 2. the order is deterministic and easy to understand, for debugging purpose. @SuppressWarnings("ComparableType") private static final class ByToString implements Comparable<Object>, Serializable { private static final ByToString INSTANCE = new ByToString(); @Override public int compareTo(Object o) { return toString().compareTo(o.toString()); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0)