Skip to content

Commit

Permalink
Make toData function public
Browse files Browse the repository at this point in the history
Changed the accessibility of the `toData` function in `NanoTDF` class from internal to public to allow external modules to access this function. This update is crucial for modules relying on this method to convert NanoTDF objects to raw data.
  • Loading branch information
arkavo-com committed Aug 3, 2024
1 parent eec3473 commit 73ddcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenTDFKit/NanoTDF.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public struct NanoTDF {
#if DEBUG
var storedKey: SymmetricKey?
#endif
func toData() -> Data {
public func toData() -> Data {
var data = Data()
data.append(header.toData())
data.append(payload.toData())
Expand Down

0 comments on commit 73ddcd6

Please sign in to comment.