// PutElements stores given key-value pairs. Existing keys will be overridden,
// non-existing keys will be created.
PutElements stores given key-value pairs. Existing keys will be overridden,
non-existing keys will be created.
// PutElements stores given key - value pairs . Existing keys will be overridden // non - existing keys will be created .
func (ab *AlgorandBuffer) PutElements(ctx context.Context, data map[string]string) error {
	m := make(map[string][]byte, len(data))
	for k, v := range data {
		m[k] = []byte(v)
	}
	err := ab.PutElementsRaw(ctx, m)
	return err
}
func ( ab * AlgorandBuffer ) PutElements ( ctx context . Context , data map [ string ] string ) error { m := make ( map [ string ] [ ] byte , len ( data ) ) for k , v := range data { m [ k ] = [ ] byte ( v ) } err := ab . PutElementsRaw ( ctx , m ) return err }
PutElements stores given key-value pairs.
PutElements stores given key - value pairs .