Skip to content

anli5005/SwiftNBT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftNBT

A Swifty NBT parser and encoder

import Foundation
import SwiftNBT

let tag = StringTag(string: "Hello, world!")
let data = try! tag.encode(name: "str")

let decodeResult = try! decodeNBT(data: data)
print(decodeResult.tag)