mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-05 03:23:50 +08:00
16 lines
327 B
Go
16 lines
327 B
Go
package tlv
|
|
|
|
import "github.com/Mrs4s/MiraiGo/binary"
|
|
|
|
func T107(picType uint16) []byte {
|
|
return binary.NewWriterF(func(w *binary.Writer) {
|
|
w.WriteUInt16(0x107)
|
|
w.WriteBytesShort(binary.NewWriterF(func(w *binary.Writer) {
|
|
w.WriteUInt16(picType)
|
|
w.WriteByte(0x00)
|
|
w.WriteUInt16(0)
|
|
w.WriteByte(0x01)
|
|
}))
|
|
})
|
|
}
|