MCPcopy Create free account
hub / github.com/devfeel/mapper / Int16

Method Int16

convert.go:63–66  ·  view source on GitHub ↗

Int16 string to int16

()

Source from the content-addressed store, hash-verified

61
62// Int16 string to int16
63func (f Convert) Int16() (int16, error) {
64 v, err := strconv.ParseInt(f.String(), 10, 16)
65 return int16(v), err
66}
67
68// Int32 string to int32
69func (f Convert) Int32() (int32, error) {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected