Example #1
0
func decodeStringPoint(pb *internal.Point) *StringPoint {
	return &StringPoint{
		Name:  pb.GetName(),
		Tags:  newTagsID(pb.GetTags()),
		Time:  pb.GetTime(),
		Nil:   pb.GetNil(),
		Aux:   decodeAux(pb.Aux),
		Value: pb.GetStringValue(),
	}
}