Package net.corda.data
Class Magic
-
- All Implemented Interfaces:
-
java.io.Externalizable
,java.io.Serializable
,java.lang.Comparable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.GenericFixed
@FixedSize(value = 8) public class Magic extends SpecificFixed
-
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
-
Method Summary
Modifier and Type Method Description static Schema
getClassSchema()
Schema
getSchema()
void
writeExternal(ObjectOutput out)
void
readExternal(ObjectInput in)
-
-
Constructor Detail
-
Magic
Magic()
Creates a new Magic
-
Magic
Magic(Array<byte> bytes)
Creates a new Magic with the given bytes.- Parameters:
bytes
- The bytes to create the new Magic.
-
-
Method Detail
-
getClassSchema
static Schema getClassSchema()
-
getSchema
Schema getSchema()
-
writeExternal
void writeExternal(ObjectOutput out)
-
readExternal
void readExternal(ObjectInput in)
-
-
-
-