go-frameproto/writemetapropertycontent.go

20 lines
286 B
Go
Raw Normal View History

2024-02-13 16:48:47 +00:00
package frameproto
import (
"io"
)
func writeMetaPropertyContent(writer io.Writer, property string, content string) {
if nil == writer {
return
}
var buffer [bufferSize]byte
var p []byte = buffer[0:0]
p = appendMetaPropertyContent(p, property, content)
writer.Write(p)
}