Discover Packages
github.com/rand-chain/dnsseeder
randchain
network
package
Version:
v0.0.0-...-c4ab804
Opens a new window with list of versions in this module.
Published: May 6, 2021
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
/ Network represents the byte sequences used to identify different networks.
Decode parses a valid network identifier from a byte slice. It
returns the identifier on success, zero and an error on failure.
Marshal appends the 4-byte, little endian encoding of a network identifier
to the dst slice and returns the resulting slice. If there is sufficient room
in the dst slice, Marshal does not allocate.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.