(data []byte, summary ...string)
| 205 | } |
| 206 | |
| 207 | func NewRecord(data []byte, summary ...string) *VoiceElement { |
| 208 | return NewStreamRecord(bytes.NewReader(data), summary...) |
| 209 | } |
| 210 | |
| 211 | func NewStreamRecord(r io.ReadSeeker, summary ...string) *VoiceElement { |
| 212 | md5, sha1, length := crypto.ComputeMd5AndSha1AndLength(r) |
nothing calls this directly
no test coverage detected