class Hpdf::Encoder
- Hpdf::Encoder
- Reference
- Object
Included Modules
Defined in:
hpdf/encoding.crConstructors
Instance Method Summary
-
#byte_type(text : String | Bytes, idx : Number) : ByteType
returns the type of byte in the text at position index.
-
#name : String
name of the encoding, one of
Encodings
- #to_unsafe : LibHaru::Encoder
-
#type : EncoderType
gets the type of an encoding object.
-
#unicode(code : UInt16) : Char
converts a specified character code to unicode.
-
#writing_mode
returns the writing mode for the encoding object.
Instance methods inherited from module Hpdf::Helper
bool(val : Bool) : Int32
bool,
nilable_str(v : Pointer(UInt8)) : String | Nil
nilable_str,
real(val : Number) : LibHaru::Real
real,
uint(val : Number) : LibHaru::UInt
uint,
uint16(val : Number) : UInt16
uint16
Constructor Detail
Instance Method Detail
returns the type of byte in the text at position index.