| 1 | // Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved. |
| 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. |
| 3 | |
| 4 | //go:build go1.5 |
| 5 | // +build go1.5 |
| 6 | |
| 7 | package codec |
| 8 | |
| 9 | import "reflect" |
| 10 | |
| 11 | const reflectArrayOfSupported = true |
| 12 | |
| 13 | func reflectArrayOf(count int, elem reflect.Type) reflect.Type { |
| 14 | return reflect.ArrayOf(count, elem) |
| 15 | } |