Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yaslab/ZeroFormatter.swift

Open more actions menu

Repository files navigation

ZeroFormatter.swift

Build Status

Implementation of ZeroFormatter in Swift.

How to use

// TODO: Sample Code
// ...

Supported types (Stage1 only)

Primitive Format

Implemented Swift type C# type
o Int8 SByte
o Int16
o Int32
o Int64
o UInt8 Byte
o UInt16 ← and Char
o UInt32
o UInt64
o Float Single
o Double
o Bool Boolean
o TimeSpan TimeSpan
o Date DateTime
o DateTimeOffset DateTimeOffset
o String

Primitive Format (Optional)

Implemented Swift type C# type
o Int8? SByte?
o Int16?
o Int32?
o Int64?
o UInt8? Byte?
o UInt16? ← and Char?
o UInt32?
o UInt64?
o Float? Single?
o Double?
o Bool? Boolean?
o TimeSpan? TimeSpan?
o Date? DateTime?
o DateTimeOffset? DateTimeOffset?
o String?

Sequence Format

Implemented Swift type C# type Note
o Array<T>? Sequence<T> if length = -1, indicates null

List Format

Implemented Swift type C# type Note
o FixedSizeList<T>? FixedSizeList if length = -1, indicates null
o VariableSizeList<T>? VariableSizeList if byteSize = -1, indicates null

Object Format

Implemented Swift type C# type Note
o ObjectSerializable? Object if byteSize = -1, indicates null
o StructSerializable Struct
o StructSerializable? Struct?

Union Format

Implemented Swift type C# type Note
Union? Union if byteSize = -1, indicates null

About

[WIP] Implementation of ZeroFormatter in Swift.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.