Add peer_protocol.Integer.Uint32

This commit is contained in:
Matt Joiner 2018-07-12 09:16:40 +10:00
parent 86ca9ffa7e
commit ee985e51cb
1 changed files with 4 additions and 0 deletions

View File

@ -19,3 +19,7 @@ func (i Integer) Int() int {
func (i Integer) Uint64() uint64 { func (i Integer) Uint64() uint64 {
return uint64(i) return uint64(i)
} }
func (i Integer) Uint32() uint32 {
return uint32(i)
}