MCPcopy Index your code
hub / github.com/alecgorge/jsonapi / encodeObject

Method encodeObject

src/main/java/org/java_websocket/util/Base64.java:616–619  ·  view source on GitHub ↗

Serializes an object and returns the Base64-encoded version of that serialized object. As of v 2.3, if the object cannot be serialized or there is another error, the method will throw an java.io.IOException. This is new to v2.3! In earlier versions, it just returned a null value, but in r

( java.io.Serializable serializableObject )

Source from the content-addressed store, hash-verified

614 * @since 1.4
615 */
616 public static String encodeObject( java.io.Serializable serializableObject )
617 throws java.io.IOException {
618 return encodeObject( serializableObject, NO_OPTIONS );
619 } // end encodeObject
620
621
622

Callers

nothing calls this directly

Calls 2

toByteArrayMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected