//
pkg.gl
Category
github.com/bittap-protocol/lnd
buffer
package
0.0.3
Repository:
https://github.com/bittap-protocol/lnd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
26 SLOC
#
Functions
RecycleSlice
RecycleSlice zeroes byte slice, making it fresh for another use.
#
Constants
ReadSize
ReadSize represents the size of the maximum message that can be read off the wire by brontide.
WriteSize
WriteSize represents the size of the maximum plaintext message than can be sent using brontide.
#
Type aliases
Read
Read is a static byte array sized to the maximum-allowed Lightning message size, plus 16 bytes for the MAC.
Write
Write is static byte array occupying to maximum-allowed plaintext-message size.