GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing redis.tinycraft.cc — Custom Decoders and Encoders | Tiny RDM Custom Decoders and Encoders Tiny RDM provides some built-in decoders for universally standardized data decoding (including Base64, GZip, Deflate, ZStd, Brotli, Msgpack, and more.). But if you need to decode any non-standard data with personalized encoding, try our user-defined decoders and encoders. Related Concepts
How It Works Tiny RDM decodes and encodes by executing external cli applications. To be able to transfer data between different processes, the raw data will encode into Base64 string before pass to the external application as a parameter, it will also return in Base64. If the external application fails to process the data (e.g., unable to decode), just simply return the plain text The basic input and output workflow looks like below:
Creating and Using Let's walk through an example of creating a PHP serializer and deserializer to demonstrate how to build and use custom decoders and encoders. Decoder php Save the above code as shell Tip The input If it works correctly, it should output Encoder Based on the decoder example, let's implement the encoder logic: php Save this as php_encoder.php, tested with the command line: shell Until output Usage After building decoder and encoder, let's see how to use them on the command line. Since these are PHP scripts, they rely on the PHP runtime, so the usage is as follows:
shell
shell Tip In addition to running scripts through their respective environments, you can also run any standalone executable binary file, as long as it provides a command-line interface. 说明
Adding and Using Open Tiny RDM, and navigate to
Parameter Description
Similarly, fill the Encoder tab as follows:
After confirming the save, you can find your decode option in the list! ![]() At this point, the custom decoder and encoder are complete. Try using them to open a redis key corresponding to the format~ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |