makes torrent decode func from openArray data public

This commit is contained in:
Marcin Czenko 2025-03-17 16:55:06 +01:00
parent 96d28e8563
commit 0748a348e7
No known key found for this signature in database
GPG Key ID: 33DEA0C8E30937C0

View File

@ -6,7 +6,7 @@ import pkg/questionable/results
import ../../blocktype
import ./manifest
func decode(_: type BitTorrentManifest, data: openArray[byte]): ?!BitTorrentManifest =
func decode*(_: type BitTorrentManifest, data: openArray[byte]): ?!BitTorrentManifest =
# ```protobuf
# Message BitTorrentManifest {
# Message Piece {