Class: Unisec::CLI::Commands::Surrogates::To
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Unisec::CLI::Commands::Surrogates::To
- Defined in:
- lib/unisec/cli/surrogates.rb
Overview
Command ‘unisec surrogates to`
Example:
“‘plaintext
$ unisec surrogates to 0x1F4A9
Char: 💩
Code Point: 0x1F4A9, 0d128169, 0b11111010010101001
High Surrogate: 0xD83D, 0d55357, 0b1101100000111101
Low Surrogate: 0xDCA9, 0d56489, 0b1101110010101001
“‘
Instance Method Summary collapse
-
#call(codepoint: nil) ⇒ Object
Calculate the surrogates based on the Unicode code point.