mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-04-18 02:33:10 +00:00
makes torrent decode func from openArray data public
This commit is contained in:
parent
96d28e8563
commit
0748a348e7
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user