Class LEAPFrameCodec

    • Constructor Detail

      • LEAPFrameCodec

        public LEAPFrameCodec()
    • Method Detail

      • encode

        public byte[] encode​(Frame content)
                      throws FrameException
        Transform a Frame into a sequence of bytes encoded according to the LEAP language
        Parameters:
        content - The Frame to be transformed
        Throws:
        FrameException
      • decode

        public Frame decode​(byte[] content)
                     throws FrameException
        Transform a sequence of bytes encoded according to the LEAP language into a Frame
        Parameters:
        content - The sequence of bytes to be transformed.
        Throws:
        FrameException