W3cubDocs

/Pony

_UTF32Encoder

[Source]

primitive val _UTF32Encoder

Constructors

create

[Source]

new val create()
: _UTF32Encoder val^

Returns

Public Functions

encode

[Source]

Encode the code point into UTF-8. It returns a tuple with the size of the encoded data and then the data.

fun box encode(
  value: U32 val)
: (USize val , U8 val , U8 val , 
    U8 val , U8 val)

Parameters

  • value: U32 val

Returns

eq

[Source]

fun box eq(
  that: _UTF32Encoder val)
: Bool val

Parameters

Returns

ne

[Source]

fun box ne(
  that: _UTF32Encoder val)
: Bool val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-_UTF32Encoder