Class ModuleBytes

    • Constructor Detail

      • ModuleBytes

        public ModuleBytes​(byte[] bytes,
                           java.util.List<NamedArg<?>> args)
      • ModuleBytes

        public ModuleBytes()
    • Method Detail

      • getJsonBytes

        public java.lang.String getJsonBytes()
      • setJsonBytes

        public void setJsonBytes​(java.lang.String byteContent)
      • serialize

        public void serialize​(dev.oak3.sbs4j.SerializerBuffer ser,
                              Target target)
                       throws dev.oak3.sbs4j.exception.ValueSerializationException,
                              NoSuchTypeException
        Implements the ModuleBytes encoder
        Parameters:
        ser - the serializer to be used
        target - target serialization standard
        Throws:
        dev.oak3.sbs4j.exception.ValueSerializationException - exception holding information of failure to serialize a value
        NoSuchTypeException
      • getBytes

        public byte[] getBytes()
        Module bytes
      • setBytes

        public void setBytes​(byte[] bytes)
        Module bytes
      • setArgs

        public void setArgs​(java.util.List<NamedArg<?>> args)
        See Also:
        NamedArg