internal virtual void Dump(Buffer buf) { buf.PutInt(flags); if ((flags & SSH_FILEXFER_ATTR_SIZE) != 0) { buf.PutLong(size); } if ((flags & SSH_FILEXFER_ATTR_UIDGID) != 0) { buf.PutInt(uid); buf.PutInt(gid); } if ((flags & SSH_FILEXFER_ATTR_PERMISSIONS) != 0) { buf.PutInt(permissions); } if ((flags & SSH_FILEXFER_ATTR_ACMODTIME) != 0) { buf.PutInt(atime); } if ((flags & SSH_FILEXFER_ATTR_ACMODTIME) != 0) { buf.PutInt(mtime); } if ((flags & SSH_FILEXFER_ATTR_EXTENDED) != 0) { int count = extended.Length / 2; if (count > 0) { for (int i = 0; i < count; i++) { buf.PutString(Util.Str2byte(extended[i * 2])); buf.PutString(Util.Str2byte(extended[i * 2 + 1])); } } } }