Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Example_binaryMarshaler (0.15 sec)

  1. src/hash/example_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package hash_test
    
    import (
    	"bytes"
    	"crypto/sha256"
    	"encoding"
    	"fmt"
    	"log"
    )
    
    func Example_binaryMarshaler() {
    	const (
    		input1 = "The tunneling gopher digs downwards, "
    		input2 = "unaware of what he will find."
    	)
    
    	first := sha256.New()
    	first.Write([]byte(input1))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 04 03:47:34 UTC 2017
    - 1.2K bytes
    - Viewed (0)
Back to top