Worker type providing to string conversions for integers.
primitive val _FormatInt
new val create() : _FormatInt val^
fun box u8( x: U8 val, neg: Bool val, fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val), prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val), prec: USize val, width: USize val, align: (AlignLeft val | AlignRight val | AlignCenter val), fill: U32 val) : String iso^
fun box u16( x: U16 val, neg: Bool val, fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val), prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val), prec: USize val, width: USize val, align: (AlignLeft val | AlignRight val | AlignCenter val), fill: U32 val) : String iso^
fun box u32( x: U32 val, neg: Bool val, fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val), prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val), prec: USize val, width: USize val, align: (AlignLeft val | AlignRight val | AlignCenter val), fill: U32 val) : String iso^
fun box u64( x: U64 val, neg: Bool val, fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val), prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val), prec: USize val, width: USize val, align: (AlignLeft val | AlignRight val | AlignCenter val), fill: U32 val) : String iso^
fun box u128( x: U128 val, neg: Bool val, fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val) = reference, prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val) = reference, prec: USize val = call, width: USize val = 0, align: (AlignLeft val | AlignRight val | AlignCenter val) = reference, fill: U32 val = 32) : String iso^
fun box eq( that: _FormatInt val) : Bool val
fun box ne( that: _FormatInt val) : Bool val
fun box _large() : String val
fun box _small() : String val
fun box _fmt_int( fmt: (FormatDefault val | FormatUTF32 val | FormatBinary val | FormatBinaryBare val | FormatOctal val | FormatOctalBare val | FormatHex val | FormatHexBare val | FormatHexSmall val | FormatHexSmallBare val)) : (U32 val , String val , String val)
fun box _prefix( neg: Bool val, prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val)) : String val
fun box _extend_digits( s: String ref, digits: USize val) : None val
fun box _pad( s: String ref, width: USize val, align: (AlignLeft val | AlignRight val | AlignCenter val), fill: U32 val) : None val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/format-_FormatInt