Instance Methodvapor 4.106.2Vapor
encode(_:)
BaseN.swift:163func encode<C>(_ decoded: C) -> [UInt8] where C : RandomAccessCollection, C.Element == UInt8, C.Index == Int
func encode<C>(_ decoded: C) -> [UInt8] where C : RandomAccessCollection, C.Element == UInt8, C.Index == Int
s5Vapor13BaseNEncodingV6encodeySays5UInt8VGxSkRzAF7ElementRtzSi5IndexRtzlF
What are these?
FNV24: [18VAH]
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
struct BaseNEncoding
@frozen struct UInt8
An 8-bit unsigned integer value type.
protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection
A collection that supports efficient random-access index traversal.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index
A type that represents a position in the collection.
@frozen struct Int
A signed integer value type.
let bits: Int
func decode<C>(_ encoded: C) -> [UInt8]? where C : RandomAccessCollection, C.Element == UInt8, C.Index == Int