Open ricardonunez-io opened 4 months ago
How is one supposed to use these functions? Ideally these would be used in safe variants of the generated code.
Also, there is clearly some functional overlap with https://github.com/google/flatbuffers/pull/8030
"Safe"-prepended "Get" decoding functions in the Go package include bounds checking to avoid panics for situations where safety from untrusted inputs is critical and performance isn't as necessary.
Does not modify existing functions, simply adds 15 new functions for each type of decoding available in go/encode.go.
Does not include safety measures for decoding strings.