tailscale/util/truncate
Joe Tsai 4bbac72868
util/truncate: support []byte as well (#11614)
There are no mutations to the input,
so we can support both ~string and ~[]byte just fine.

Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-04-04 14:38:16 -07:00
..
truncate.go util/truncate: support []byte as well (#11614) 2024-04-04 14:38:16 -07:00
truncate_test.go util: add truncate package (#7490) 2023-03-07 11:51:36 -08:00