MCPcopy Index your code
hub / github.com/Monibuca/engine / IBytes

Interface IBytes

util/buffer.go:68–72  ·  view source on GitHub ↗

IBytes 用于区分传入的内存是否是复用内存,例如从网络中读取的数据,如果是复用内存,需要尽早复制

Source from the content-addressed store, hash-verified

66
67// IBytes 用于区分传入的内存是否是复用内存,例如从网络中读取的数据,如果是复用内存,需要尽早复制
68type IBytes interface {
69 Len() int
70 Bytes() []byte
71 Reuse() bool
72}
73type IBuffer interface {
74 Len() int
75 Bytes() []byte

Callers 12

WritePESPacketMethod · 0.65
SummaryMethod · 0.65
onSuberCloseMethod · 0.65
runMethod · 0.65
RunFunction · 0.65
WriteAVCCMethod · 0.65
WriteRTPFrameMethod · 0.65
WriteRawBytesMethod · 0.65
PacketizeRTPMethod · 0.65
WriteADTSMethod · 0.65
GetFromPoolMethod · 0.65
GetFromPoolMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected