decode_amd64.go 394 B

123456789101112131415
  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. // +build !appengine
  6. // +build gc
  7. // +build !noasm
  8. package s2
  9. // decode has the same semantics as in decode_other.go.
  10. //
  11. //go:noescape
  12. func s2Decode(dst, src []byte) int