Contents

decodeBytes(forKey:returnedLength:)

Decodes a buffer of data that was previously encoded with Encodebytes(_:length:forkey:) and associated with the string key.

Declaration

func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?

Discussion

The buffer’s length is returned by reference in lengthp. The returned bytes are immutable. Subclasses must override this method if they perform keyed coding.

See Also

Related Documentation

Decoding General Data