Start implementation of revoke action
This commit is contained in:
parent
38566f35ef
commit
2de9771472
9 changed files with 739 additions and 57 deletions
|
|
@ -2,7 +2,9 @@ package datastructures
|
|||
|
||||
import "encoding/binary"
|
||||
|
||||
func encode24BitLength(data []byte) []byte {
|
||||
const signerTimeFormat = "010203042006.05"
|
||||
|
||||
func Encode24BitLength(data []byte) []byte {
|
||||
lengthBytes := make([]byte, 4)
|
||||
binary.BigEndian.PutUint32(lengthBytes, uint32(len(data)))
|
||||
return lengthBytes[1:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue