blob: 9fe3ce903f7a6aaa3ec0d1404694debe68910501 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated by the vanadium vdl tool.
// Source: types.vdl
package uniqueid
import (
// VDL system imports
"v.io/v23/vdl"
)
// An Id is a likely globally unique identifier.
type Id [16]byte
func (Id) __VDLReflect(struct {
Name string `vdl:"v.io/v23/uniqueid.Id"`
}) {
}
func (m Id) FillVDLTarget(t vdl.Target, tt *vdl.Type) error {
if err := t.FromBytes([]byte(m[:]), __VDLType_types_v_io_v23_uniqueid_Id); err != nil {
return err
}
return nil
}
func (m Id) MakeVDLTarget() vdl.Target {
return nil
}
func (m Id) IsZero() bool {
var1 := (m == Id{})
return var1
}
func init() {
vdl.Register((*Id)(nil))
}
var __VDLType_types_v_io_v23_uniqueid_Id *vdl.Type = vdl.TypeOf(Id{})
func __VDLEnsureNativeBuilt_types() {
}