Base class for marshallers. Provides default implementations of methods
that work with byte array or GridByteArrayList. These implementations
use GridByteArrayInputStream or GridByteArrayOutputStream
to marshal and unmarshal objects.