package bin

import 

// Int256 represents signed 256-bit integer.
type Int256 [32]byte

// Decode implements bin.Decoder.
func ( *Int256) ( *Buffer) error {
	,  := .Int256()
	if  != nil {
		return 
	}
	* = 
	return nil
}

// Encode implements bin.Encoder.
func ( Int256) ( *Buffer) error {
	.PutInt256()
	return nil
}

// BigInt returns corresponding big.Int value.
func ( Int256) () *big.Int {
	return big.NewInt(0).SetBytes([:])
}