| 1 |
// Copyright 2016 The Snappy-Go Authors. All rights reserved. |
| 2 |
// Copyright (c) 2019 Klaus Post. All rights reserved. |
| 3 |
// Use of this source code is governed by a BSD-style |
| 4 |
// license that can be found in the LICENSE file. |
| 5 |
|
| 6 |
//go:build (amd64 || arm64) && !appengine && gc && !noasm |
| 7 |
// +build amd64 arm64 |
| 8 |
// +build !appengine |
| 9 |
// +build gc |
| 10 |
// +build !noasm |
| 11 |
|
| 12 |
package s2 |
| 13 |
|
| 14 |
// decode has the same semantics as in decode_other.go. |
| 15 |
// |
| 16 |
//go:noescape |
| 17 |
func s2Decode(dst, src []byte) int |