Lines Matching refs:be
106 func (be ZipEntryFromBuffer) String() string {
110 func (be ZipEntryFromBuffer) IsDir() bool {
111 return be.fh.FileInfo().IsDir()
114 func (be ZipEntryFromBuffer) CRC32() uint32 {
115 return crc32.ChecksumIEEE(be.content)
118 func (be ZipEntryFromBuffer) Size() uint64 {
119 return uint64(len(be.content))
122 func (be ZipEntryFromBuffer) WriteToZip(dest string, zw *zip.Writer) error {
123 w, err := zw.CreateHeader(be.fh)
128 if !be.IsDir() {
129 _, err = w.Write(be.content)