google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.29k stars 363 forks source link

ReadFrom, WriteTo and Max #146

Closed it512 closed 8 months ago

it512 commented 9 months ago

add ReadFrom and WriteTo function add Max UUID

it512 commented 9 months ago

1 UUID作为一种类型,在一些编码和解码场景需要直接的io.Reader和io.Writer和操作,从而减少零时对象的生成,和方便使用 2 在网络编程中,可以直接从net.Conn中读取/写入UUID ~~~~~~~~~~~ 1 UUID as a type requires direct io.Reader and io.Writer operations in some encoding and decoding scenarios, thereby reducing the generation of temporary objects and making it easier to use 2 In network programming, you can read/write UUID directly from net.Conn