Creates a key for a binary header. @param name Must contain only the valid key characters as defined in the class comment. Must end with #BINARY_HEADER_SUFFIX.
(String name, BinaryMarshaller<T> marshaller)
| 680 | * end with {@link #BINARY_HEADER_SUFFIX}. |
| 681 | */ |
| 682 | public static <T> Key<T> of(String name, BinaryMarshaller<T> marshaller) { |
| 683 | return new BinaryKey<>(name, marshaller); |
| 684 | } |
| 685 | |
| 686 | /** |
| 687 | * Creates a key for a binary header, serializing to input streams. |
no outgoing calls